Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[ARM] pxa: fix incorrect gpio type in udc_pxa2xx.h

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>

authored by

Steve Bennett and committed by
Eric Miao
390daa0d 7e27d6e7

+2 -2
+2 -2
arch/arm/include/asm/mach/udc_pxa2xx.h
··· 21 21 * here. Note that sometimes the signals go through inverters... 22 22 */ 23 23 bool gpio_vbus_inverted; 24 - u16 gpio_vbus; /* high == vbus present */ 24 + int gpio_vbus; /* high == vbus present */ 25 25 bool gpio_pullup_inverted; 26 - u16 gpio_pullup; /* high == pullup activated */ 26 + int gpio_pullup; /* high == pullup activated */ 27 27 }; 28 28