mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
1b45049a37
commit
3632eba532
1 changed files with 1 additions and 1 deletions
|
@ -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", },
|
||||
{ },
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue