From: Antoine Tenart Date: Thu, 30 Oct 2014 17:41:13 +0000 (+0100) Subject: usb: move the OTG state from the USB PHY to the OTG structure X-Git-Tag: omap-for-v3.19/fixes-rc1~87^2~32^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e47d92545c2972bcf3711e7db80f481e402163c7;p=pandora-kernel.git usb: move the OTG state from the USB PHY to the OTG structure Before using the PHY framework instead of the USB PHY one, we need to move the OTG state into another place, since it won't be available when USB PHY isn't used. This patch moves the OTG state into the OTG structure, and makes all the needed modifications in the drivers using the OTG state. [ balbi@ti.com : fix build regressions with phy-tahvo.c, musb_dsps.c, phy-isp1301-omap, and chipidea's debug.c ] Acked-by: Kishon Vijay Abraham I Acked-by: Peter Chen Signed-off-by: Antoine Tenart Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed