From: Axel Lin Date: Tue, 12 Jul 2011 11:05:29 +0000 (+0800) Subject: usb: gadget: s3c2410_udc: fix unterminated platform_device_id table X-Git-Tag: v3.1-rc4~5^2~7^2^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=567b20e02bc1b2bcd69e8bfc022dec3da3fefb89;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git usb: gadget: s3c2410_udc: fix unterminated platform_device_id table platform_device_id structures need a NULL terminating entry, add it. Signed-off-by: Axel Lin Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/s3c2410_udc.c b/drivers/usb/gadget/s3c2410_udc.c index 85c1b0d..8d31848 100644 --- a/drivers/usb/gadget/s3c2410_udc.c +++ b/drivers/usb/gadget/s3c2410_udc.c @@ -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);