Re: [PATCH] Fix initconst in ehci driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 22 Apr 2013, Andi Kleen wrote:

> On Mon, Apr 22, 2013 at 01:16:11PM -0400, Alan Stern wrote:
> > On Mon, 22 Apr 2013, Andi Kleen wrote:
> > 
> > > From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> > > 
> > > Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> > > 
> > > diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c
> > 
> > > diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
> > 
> > > diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
> > 
> > You left out ehci-spear, ehci-s5p, and ehci-msm.
> 
> They all don't have this problem. They const declarations are not
> __init*

What do you mean?  Take a look at ehci-msm.c, for example, starting
around line 198:

static const struct ehci_driver_overrides msm_overrides __initdata = {
	.reset = ehci_msm_reset,
};

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux