summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-06-18 08:35:41 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-10 03:13:03 +0400
commit3632eba532fce0651f69d605177b53ff8d91d91e (patch)
tree1f07420ce31127bf12e23f1e2ca5ec1cd70cf4ac /drivers
parent1b45049a37a67912ac15b7ae07ad1a095de2f669 (diff)
downloadlinux-3632eba532fce0651f69d605177b53ff8d91d91e.tar.xz
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/host/ehci-spear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-spear.c b/drivers/usb/host/ehci-spear.c
index 1d59958ad0ce..1355ff0946b9 100644
--- a/drivers/usb/host/ehci-spear.c
+++ b/drivers/usb/host/ehci-spear.c
@@ -150,7 +150,7 @@ static int spear_ehci_hcd_drv_remove(struct platform_device *pdev)
return 0;
}
-static struct of_device_id spear_ehci_id_table[] = {
+static const struct of_device_id spear_ehci_id_table[] = {
{ .compatible = "st,spear600-ehci", },
{ },
};