diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-06-18 13:38:10 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-09 16:13:03 -0700 |
commit | 10e15d6d903b138ea6340107227d4ec311391343 (patch) | |
tree | 2bc9853185bb9f7a98f0c5b3cc04b5c15d255799 /drivers/usb/host/ohci-spear.c | |
parent | 3587fb3ba05efd920da1395c2437cd40f9c7d1b4 (diff) | |
download | op-kernel-dev-10e15d6d903b138ea6340107227d4ec311391343.zip op-kernel-dev-10e15d6d903b138ea6340107227d4ec311391343.tar.gz |
USB: ohci-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/usb/host/ohci-spear.c')
-rw-r--r-- | drivers/usb/host/ohci-spear.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c index 8b29a0c..8d58766 100644 --- a/drivers/usb/host/ohci-spear.c +++ b/drivers/usb/host/ohci-spear.c @@ -162,7 +162,7 @@ static int spear_ohci_hcd_drv_resume(struct platform_device *dev) } #endif -static struct of_device_id spear_ohci_id_table[] = { +static const struct of_device_id spear_ohci_id_table[] = { { .compatible = "st,spear600-ohci", }, { }, }; |