aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2012-05-11 10:25:55 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-11 19:59:35 -0400
commitbd841986e4e1fe60fe97da45be5139f173c5188e (patch)
tree4fb3a19474eedd0c6775520a1f180171bafd228e /include/linux/usb
parenteb70e5ab8f95a81283623c03d2c99dfc59fcb319 (diff)
usb: chipidea: add power_budget limit for ehci to platform data
Some implementations need this limitation to work correctly. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/chipidea.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h
index 86273ce5f554..edb90d6cfd12 100644
--- a/include/linux/usb/chipidea.h
+++ b/include/linux/usb/chipidea.h
@@ -10,6 +10,7 @@ struct ci13xxx_udc_driver {
10 const char *name; 10 const char *name;
11 /* offset of the capability registers */ 11 /* offset of the capability registers */
12 uintptr_t capoffset; 12 uintptr_t capoffset;
13 unsigned power_budget;
13 unsigned long flags; 14 unsigned long flags;
14#define CI13XXX_REGS_SHARED BIT(0) 15#define CI13XXX_REGS_SHARED BIT(0)
15#define CI13XXX_REQUIRE_TRANSCEIVER BIT(1) 16#define CI13XXX_REQUIRE_TRANSCEIVER BIT(1)