[ARM] pxa/corgi: fix incorrect default GPIO for UDC Vbus
authorEric Miao <eric.y.miao@gmail.com>
Mon, 11 Jan 2010 07:43:24 +0000 (15:43 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Wed, 13 Jan 2010 13:01:08 +0000 (21:01 +0800)
There is no such GPIO for udc vbus sensing, put '-1' instead of default
'0' as '0' does mean a valid GPIO.

Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/corgi.c

index 74446cf8ae69ad941dc75c2d10d5a89094fd7fc3..da3156d8690bf1465d9f7c8470fb0e4fea0be0a9 100644 (file)
@@ -457,6 +457,7 @@ static struct pxaficp_platform_data corgi_ficp_platform_data = {
  * USB Device Controller
  */
 static struct pxa2xx_udc_mach_info udc_info __initdata = {
+       .gpio_vbus              = -1,
        /* no connect GPIO; corgi can't tell connection status */
        .gpio_pullup            = CORGI_GPIO_USB_PULLUP,
 };