diff options
author | Felipe Balbi <balbi@ti.com> | 2013-06-30 15:29:51 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-07-29 14:56:47 +0400 |
commit | f7e846f0956917888b28b52726ee8779a39d84b6 (patch) | |
tree | e2571f968ea11e9ea92907943f9c6997db43d316 /drivers/usb/dwc3/platform_data.h | |
parent | 6462cbd54d2fa649b27633267d8ddf835705e47a (diff) | |
download | linux-f7e846f0956917888b28b52726ee8779a39d84b6.tar.xz |
usb: dwc3: make maximum-speed a per-instance attribute
in order to allow different instances of the
core work in different maximum speeds, we will
move the maximum_speed module_parameter to
both DeviceTree (making use the new maximum-speed
DT property) and platform_data.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/platform_data.h')
-rw-r--r-- | drivers/usb/dwc3/platform_data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/platform_data.h b/drivers/usb/dwc3/platform_data.h index 038516489539..16ffe1912523 100644 --- a/drivers/usb/dwc3/platform_data.h +++ b/drivers/usb/dwc3/platform_data.h @@ -17,6 +17,9 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <linux/usb/ch9.h> + struct dwc3_platform_data { + enum usb_device_speed maximum_speed; bool tx_fifo_resize; }; |