Skip to content

Commit

Permalink
USB: Fix initconst in ehci driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and Greg Kroah-Hartman committed Apr 23, 2013
1 parent 671b4b2 commit 62d08a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/usb/host/ehci-mxc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ehci-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/usb/host/ehci-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 62d08a1

Please sign in to comment.