Commit 62d08a11 authored by Andi Kleen's avatar Andi Kleen Committed by Greg Kroah-Hartman
Browse files

USB: Fix initconst in ehci driver



Fix some of the initconst markings in the ehci driver(s).
Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 671b4b2b
...@@ -43,7 +43,7 @@ struct ehci_mxc_priv { ...@@ -43,7 +43,7 @@ struct ehci_mxc_priv {
static struct hc_driver __read_mostly ehci_mxc_hc_driver; 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), .extra_priv_size = sizeof(struct ehci_mxc_priv),
}; };
......
...@@ -375,7 +375,7 @@ static int ehci_pci_resume(struct usb_hcd *hcd, bool hibernated) ...@@ -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 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, .reset = ehci_pci_setup,
}; };
......
...@@ -60,7 +60,7 @@ static int ehci_platform_reset(struct usb_hcd *hcd) ...@@ -60,7 +60,7 @@ static int ehci_platform_reset(struct usb_hcd *hcd)
static struct hc_driver __read_mostly ehci_platform_hc_driver; 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, .reset = ehci_platform_reset,
}; };
......
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