mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
usb: gadget: lpc32xx_udc: 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 <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
This commit is contained in:
1 parent
61107d9f1b
commit
ca118b78da
1 file changed
+1
-1
@@ -3397,7 +3397,7 @@ static int lpc32xx_udc_resume(struct platform_device *pdev)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_OF
|
||||
static struct of_device_id lpc32xx_udc_of_match[] = {
|
||||
static const struct of_device_id lpc32xx_udc_of_match[] = {
|
||||
{ .compatible = "nxp,lpc3220-udc", },
|
||||
{ },
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user