mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
usb: gadget: gr_udc: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const. Acked-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
0f0520ba83
commit
61107d9f1b
@ -2212,7 +2212,7 @@ out:
|
||||
return retval;
|
||||
}
|
||||
|
||||
static struct of_device_id gr_match[] = {
|
||||
static const struct of_device_id gr_match[] = {
|
||||
{.name = "GAISLER_USBDC"},
|
||||
{.name = "01_021"},
|
||||
{},
|
||||
|
Loading…
Reference in New Issue
Block a user