]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/usb/otg.h
usb: move the OTG state from the USB PHY to the OTG structure
[karo-tx-linux.git] / include / linux / usb / otg.h
index 154332b7c8c0d165bd94806c818f666e16e5c9d4..33d3480c9cdaf7e07a91dd2d45bfe5d2c7d7ec4d 100644 (file)
@@ -18,6 +18,8 @@ struct usb_otg {
        struct usb_bus          *host;
        struct usb_gadget       *gadget;
 
+       enum usb_otg_state      state;
+
        /* bind/unbind the host controller */
        int     (*set_host)(struct usb_otg *otg, struct usb_bus *host);