提交 567b20e0 编写于 作者: A Axel Lin 提交者: Felipe Balbi

usb: gadget: s3c2410_udc: fix unterminated platform_device_id table

platform_device_id structures need a NULL terminating
entry, add it.
Signed-off-by: NAxel Lin <axel.lin@gmail.com>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 322a8b03
...@@ -2060,6 +2060,7 @@ static int s3c2410_udc_resume(struct platform_device *pdev) ...@@ -2060,6 +2060,7 @@ static int s3c2410_udc_resume(struct platform_device *pdev)
static const struct platform_device_id s3c_udc_ids[] = { static const struct platform_device_id s3c_udc_ids[] = {
{ "s3c2410-usbgadget", }, { "s3c2410-usbgadget", },
{ "s3c2440-usbgadget", }, { "s3c2440-usbgadget", },
{ }
}; };
MODULE_DEVICE_TABLE(platform, s3c_udc_ids); MODULE_DEVICE_TABLE(platform, s3c_udc_ids);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册