From: Daniel Mack Date: Wed, 10 Apr 2013 19:55:48 +0000 (+0200) Subject: usb: musb: re-introduce musb->port_mode X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~78^2~60^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ad96e694c3d33465d099d0a2db1aae8cb358d1f;p=pandora-kernel.git usb: musb: re-introduce musb->port_mode Define MUSB_PORT_MODE_{HOST,GADGET,DUAL_ROLE} and store the platform-specified value in struct musb. Note that MUSB_PORT_MODE_HOST has to be set to 1 in order to match existing device tree bindings which are already documented but in fact unusued. For information on the bindings, please refer to Documentation/devicetree/bindings/usb/omap-usb.txt Documentation/devicetree/bindings/usb/am33xx-usb.txt Signed-off-by: Daniel Mack Acked-by: Peter Korsgaard Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed