]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
USB: Fix initconst in ehci driver
authorAndi Kleen <ak@linux.intel.com>
Mon, 22 Apr 2013 16:44:56 +0000 (09:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Apr 2013 17:10:29 +0000 (10:10 -0700)
Fix some of the initconst markings in the ehci driver(s).

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-mxc.c
drivers/usb/host/ehci-pci.c
drivers/usb/host/ehci-platform.c

index a38c8c8e5b0d9fdc6d25c61f4f79322bddfdf02d..c369767b00e26de940eb6e8eca2e1ebe00b7e975 100644 (file)
@@ -43,7 +43,7 @@ struct ehci_mxc_priv {
 
 static struct hc_driver __read_mostly ehci_mxc_hc_driver;
 
-static const struct ehci_driver_overrides ehci_mxc_overrides __initdata = {
+static const struct ehci_driver_overrides ehci_mxc_overrides __initconst = {
        .extra_priv_size =      sizeof(struct ehci_mxc_priv),
 };
 
index a573d5ff9adcf213dad7014cc24e434df22a3346..595d210655b67ef79e95fdbd5cc0c347060089c6 100644 (file)
@@ -375,7 +375,7 @@ static int ehci_pci_resume(struct usb_hcd *hcd, bool hibernated)
 
 static struct hc_driver __read_mostly ehci_pci_hc_driver;
 
-static const struct ehci_driver_overrides pci_overrides __initdata = {
+static const struct ehci_driver_overrides pci_overrides __initconst = {
        .reset =                ehci_pci_setup,
 };
 
index cda0fa9613e7c633c7f4382ddb0b5b3ee5c71ca9..f47f2594c9d43f337719daaaf771c2ad7e5fd9d8 100644 (file)
@@ -60,7 +60,7 @@ static int ehci_platform_reset(struct usb_hcd *hcd)
 
 static struct hc_driver __read_mostly ehci_platform_hc_driver;
 
-static const struct ehci_driver_overrides platform_overrides __initdata = {
+static const struct ehci_driver_overrides platform_overrides __initconst = {
        .reset =        ehci_platform_reset,
 };