From: Jingoo Han Date: Wed, 18 Jun 2014 04:38:10 +0000 (+0900) Subject: USB: ohci-spear: Make of_device_id array const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=10e15d6d903b138ea6340107227d4ec311391343;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c index 8b29a0c04c23..8d5876692e7c 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", }, { }, };