mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 15:29:16 +00:00
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>
This commit is contained in:
parent
3587fb3ba0
commit
10e15d6d90
@ -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", },
|
||||
{ },
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user