diff options
-rw-r--r-- | arch/arm/mach-pxa/poodle.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c index e85eba3e362d..cbcf394d84d1 100644 --- a/arch/arm/mach-pxa/poodle.c +++ b/arch/arm/mach-pxa/poodle.c | |||
@@ -280,21 +280,9 @@ static struct pxaficp_platform_data poodle_ficp_platform_data = { | |||
280 | /* | 280 | /* |
281 | * USB Device Controller | 281 | * USB Device Controller |
282 | */ | 282 | */ |
283 | static void poodle_udc_command(int cmd) | ||
284 | { | ||
285 | switch(cmd) { | ||
286 | case PXA2XX_UDC_CMD_CONNECT: | ||
287 | GPSR(POODLE_GPIO_USB_PULLUP) = GPIO_bit(POODLE_GPIO_USB_PULLUP); | ||
288 | break; | ||
289 | case PXA2XX_UDC_CMD_DISCONNECT: | ||
290 | GPCR(POODLE_GPIO_USB_PULLUP) = GPIO_bit(POODLE_GPIO_USB_PULLUP); | ||
291 | break; | ||
292 | } | ||
293 | } | ||
294 | |||
295 | static struct pxa2xx_udc_mach_info udc_info __initdata = { | 283 | static struct pxa2xx_udc_mach_info udc_info __initdata = { |
296 | /* no connect GPIO; poodle can't tell connection status */ | 284 | /* no connect GPIO; poodle can't tell connection status */ |
297 | .udc_command = poodle_udc_command, | 285 | .gpio_pullup = POODLE_GPIO_USB_PULLUP, |
298 | }; | 286 | }; |
299 | 287 | ||
300 | 288 | ||