From c0a93f8be91586696012a192e32c6d3302df50f0 Mon Sep 17 00:00:00 2001 From: Ladislav Michl Date: Tue, 11 Oct 2005 18:18:52 +0300 Subject: [PATCH] [PATCH] ARM: OMAP: OMAP1510 USB compile fix OMAP1510 USB compile fix --- arch/arm/plat-omap/usb.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.41.1