summaryrefslogtreecommitdiff
path: root/include/linux/usb/chipidea.h
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2012-05-11 18:25:55 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-12 03:59:35 +0400
commitbd841986e4e1fe60fe97da45be5139f173c5188e (patch)
tree4fb3a19474eedd0c6775520a1f180171bafd228e /include/linux/usb/chipidea.h
parenteb70e5ab8f95a81283623c03d2c99dfc59fcb319 (diff)
downloadlinux-bd841986e4e1fe60fe97da45be5139f173c5188e.tar.xz
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/chipidea.h')
-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 {
const char *name;
/* offset of the capability registers */
uintptr_t capoffset;
+ unsigned power_budget;
unsigned long flags;
#define CI13XXX_REGS_SHARED BIT(0)
#define CI13XXX_REQUIRE_TRANSCEIVER BIT(1)