usb/host/: const data must use __initconst not __initdata
commitedc8c54bf454e6ba4f4631db1603f2297e4d4b67
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 27 Apr 2016 17:28:32 +0000 (27 13:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Apr 2016 19:35:36 +0000 (28 12:35 -0700)
tree0f0dffb37de200550a0fce4215ba9987c98f9af3
parent10871c13608a624562e082196148f1dc4e37005e
usb/host/: const data must use __initconst not __initdata

Init data marked const should be annotated with __initconst for
correctness and not __initdata.  This also fixes LTO builds that
otherwise fail with section mismatch errors.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-exynos.c
drivers/usb/host/ehci-msm.c
drivers/usb/host/ehci-omap.c
drivers/usb/host/ehci-spear.c