usb: gadget: s3c2410_udc: fix unterminated platform_device_id table
authorAxel Lin <axel.lin@gmail.com>
Tue, 12 Jul 2011 11:05:29 +0000 (19:05 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 1 Aug 2011 19:06:31 +0000 (22:06 +0300)
platform_device_id structures need a NULL terminating
entry, add it.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c2410_udc.c

index 85c1b0d66293c72fe1577ea506faeb1b7cfb1d41..8d31848aab091534ae998e588f7803c88ea121c9 100644 (file)
@@ -2060,6 +2060,7 @@ static int s3c2410_udc_resume(struct platform_device *pdev)
 static const struct platform_device_id s3c_udc_ids[] = {
        { "s3c2410-usbgadget", },
        { "s3c2440-usbgadget", },
+       { }
 };
 MODULE_DEVICE_TABLE(platform, s3c_udc_ids);