mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08: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 <jg1.han@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
61107d9f1b
commit
ca118b78da
@ -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", },
|
||||
{ },
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user