Commit c74dbc6c authored by Alexander Kern's avatar Alexander Kern Committed by Linus Torvalds

[PATCH] USB quirk section fix

usb_early_handoff is referenced from __devinit and hence should be
__devinitdata.
Acked-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2761f394
...@@ -861,7 +861,7 @@ static void __init quirk_sis_96x_smbus(struct pci_dev *dev) ...@@ -861,7 +861,7 @@ static void __init quirk_sis_96x_smbus(struct pci_dev *dev)
#define EHCI_USBLEGCTLSTS 4 /* legacy control/status */ #define EHCI_USBLEGCTLSTS 4 /* legacy control/status */
#define EHCI_USBLEGCTLSTS_SOOE (1 << 13) /* SMI on ownership change */ #define EHCI_USBLEGCTLSTS_SOOE (1 << 13) /* SMI on ownership change */
int usb_early_handoff __initdata = 0; int usb_early_handoff __devinitdata = 0;
static int __init usb_handoff_early(char *str) static int __init usb_handoff_early(char *str)
{ {
usb_early_handoff = 1; usb_early_handoff = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment