From: Roger Quadros Date: Tue, 24 Sep 2013 08:53:47 +0000 (+0300) Subject: usb: phy: generic: Add gpio_reset to platform data X-Git-Tag: v3.13-rc1~174^2~22^2~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e933359ee2c3a861d5022b83110ce88ba3a2dda;p=profile%2Fivi%2Fkernel-x86-ivi.git usb: phy: generic: Add gpio_reset to platform data The GPIO number of the RESET line can be passed to the driver using the gpio_reset member. Signed-off-by: Roger Quadros Signed-off-by: Felipe Balbi --- diff --git a/include/linux/usb/usb_phy_gen_xceiv.h b/include/linux/usb/usb_phy_gen_xceiv.h index f9a7e7b..42f3b71 100644 --- a/include/linux/usb/usb_phy_gen_xceiv.h +++ b/include/linux/usb/usb_phy_gen_xceiv.h @@ -9,7 +9,8 @@ struct usb_phy_gen_xceiv_platform_data { /* if set fails with -EPROBE_DEFER if can't get regulator */ unsigned int needs_vcc:1; - unsigned int needs_reset:1; + unsigned int needs_reset:1; /* deprecated */ + int gpio_reset; }; #if IS_ENABLED(CONFIG_NOP_USB_XCEIV)