Skip to content

Commit

Permalink
usb: gadget: s3c2410_udc: fix unterminated platform_device_id table
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Felipe Balbi committed Aug 1, 2011
1 parent e371d46 commit 7e9d40f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/usb/gadget/s3c2410_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7e9d40f

Please sign in to comment.