diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-07-12 13:05:29 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-08-01 21:06:31 +0200 |
commit | 7e9d40f3a834a322f004b6629db55c22ae457d77 (patch) | |
tree | a20e5cf2c5eb3855b1d2b246d359973fa394f554 /drivers/usb/gadget/s3c2410_udc.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir... (diff) | |
download | linux-7e9d40f3a834a322f004b6629db55c22ae457d77.tar.xz linux-7e9d40f3a834a322f004b6629db55c22ae457d77.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>
Diffstat (limited to 'drivers/usb/gadget/s3c2410_udc.c')
-rw-r--r-- | drivers/usb/gadget/s3c2410_udc.c | 1 |
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); |