Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: ehci-spear: Make of_device_id array const

Make of_device_id array const, because all OF functions handle
it as const.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jingoo Han and committed by
Greg Kroah-Hartman
3632eba5 1b45049a

+1 -1
+1 -1
drivers/usb/host/ehci-spear.c
··· 150 150 return 0; 151 151 } 152 152 153 - static struct of_device_id spear_ehci_id_table[] = { 153 + static const struct of_device_id spear_ehci_id_table[] = { 154 154 { .compatible = "st,spear600-ehci", }, 155 155 { }, 156 156 };