提交 390daa0d 编写于 作者: S Steve Bennett 提交者: Eric Miao

[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: NSteve Bennett <steveb@workware.net.au>
Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
上级 7e27d6e7
......@@ -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 */
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册