[ARM] pxa: fix incorrect gpio type in udc_pxa2xx.h
authorSteve Bennett <steveb@workware.net.au>
Wed, 21 Apr 2010 06:30:33 +0000 (16:30 +1000)
committerEric Miao <eric.y.miao@gmail.com>
Sun, 13 Jun 2010 15:55:12 +0000 (23:55 +0800)
gpio must be int, not u16, otherwise -1 isn't recognised
by gpio_is_valid().

Signed-off-by: Steve Bennett <steveb@workware.net.au>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/include/asm/mach/udc_pxa2xx.h

index f3eabf1ecec333643273d9f797a7afd70cc4894d..833306ee9e7fec2059c457e7e107d586198c4de6 100644 (file)
@@ -21,8 +21,8 @@ struct pxa2xx_udc_mach_info {
         * here.  Note that sometimes the signals go through inverters...
         */
        bool    gpio_vbus_inverted;
-       u16     gpio_vbus;                      /* high == vbus present */
+       int     gpio_vbus;                      /* high == vbus present */
        bool    gpio_pullup_inverted;
-       u16     gpio_pullup;                    /* high == pullup activated */
+       int     gpio_pullup;                    /* high == pullup activated */
 };