[ar71xx] fix gpio-leds, and gpio-buttons platform data initialization
[openwrt.git] / target / linux / brcm47xx / patches-2.6.23 / 240-ohci-ssb-pm.patch
1 From: Al Viro <viro@ftp.linux.org.uk>
2 Date: Sat, 13 Oct 2007 21:29:47 +0000 (+0100)
3 Subject: Fix ohci-ssb with !CONFIG_PM
4 X-Git-Tag: linux-2.6.24-rc1~57^2~38
5 X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fralf%2Flinux.git;a=commitdiff_plain;h=4735b37cf434175c2b7b36b3b68f1e60e8ec8527;hp=d773b33972a663cfaf066e966f87922a74088a1e
6
7 Fix ohci-ssb with !CONFIG_PM
8
9 ohci_bus_{suspend,resume} exists only if we have CONFIG_PM; do the same
10 thing as other subdrivers...
11
12 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
13 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
14 ---
15
16 --- a/drivers/usb/host/ohci-ssb.c
17 +++ b/drivers/usb/host/ohci-ssb.c
18 @@ -117,8 +117,10 @@
19 .hub_status_data = ohci_hub_status_data,
20 .hub_control = ohci_hub_control,
21 .hub_irq_enable = ohci_rhsc_enable,
22 +#ifdef CONFIG_PM
23 .bus_suspend = ohci_bus_suspend,
24 .bus_resume = ohci_bus_resume,
25 +#endif
26
27 .start_port_reset = ohci_start_port_reset,
28 };
This page took 0.038787 seconds and 5 git commands to generate.