From: Ladislav Michl Date: Tue, 11 Oct 2005 15:18:52 +0000 (+0300) Subject: [PATCH] ARM: OMAP: OMAP1510 USB compile fix X-Git-Tag: v2.6.15-omap2~166 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c0a93f8be91586696012a192e32c6d3302df50f0;p=linux-2.6-omap-h63xx.git [PATCH] ARM: OMAP: OMAP1510 USB compile fix OMAP1510 USB compile fix --- diff --git a/arch/arm/plat-omap/usb.c b/arch/arm/plat-omap/usb.c index 3e374fda4f3..687779a57a3 100644 --- a/arch/arm/plat-omap/usb.c +++ b/arch/arm/plat-omap/usb.c @@ -538,6 +538,8 @@ static void __init omap_1510_usb_init(struct omap_usb_config *config) #ifdef CONFIG_USB_GADGET_OMAP if (config->register_dev) { + int status; + udc_device.dev.platform_data = config; status = platform_device_register(&udc_device); if (status) @@ -548,6 +550,8 @@ static void __init omap_1510_usb_init(struct omap_usb_config *config) #if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE) if (config->register_host) { + int status; + ohci_device.dev.platform_data = config; status = platform_device_register(&ohci_device); if (status)