summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin2011-07-12 13:05:29 +0200
committerFelipe Balbi2011-08-12 10:52:29 +0200
commit567b20e02bc1b2bcd69e8bfc022dec3da3fefb89 (patch)
tree28f16e3948bc50f5cddb7102bdee603c58f1acc7
parentLinux 3.1-rc1 (diff)
downloadkernel-qcow2-linux-567b20e02bc1b2bcd69e8bfc022dec3da3fefb89.tar.gz
kernel-qcow2-linux-567b20e02bc1b2bcd69e8bfc022dec3da3fefb89.tar.xz
kernel-qcow2-linux-567b20e02bc1b2bcd69e8bfc022dec3da3fefb89.zip
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 <axel.lin@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r--drivers/usb/gadget/s3c2410_udc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/s3c2410_udc.c b/drivers/usb/gadget/s3c2410_udc.c
index 85c1b0d66293..8d31848aab09 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);