Re: [PATCH] More initconst in ehci driver

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

 



On Sat, 20 Apr 2013, Andi Kleen wrote:

> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> 
> Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> 
> diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
> index ca75063..6a18f11 100644
> --- a/drivers/usb/host/ehci-platform.c
> +++ b/drivers/usb/host/ehci-platform.c
> @@ -58,7 +58,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,
>  };

Andi, you might as well fix up _all_ the EHCI platform drivers in 
linux-next that need this change, not just two of them.

And the change is so small; you might as well put all of them into a
single patch instead of having half a dozen individual single-line
patches.

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