From: Ajay Kumar Gupta Date: Thu, 25 Mar 2010 11:14:23 +0000 (+0200) Subject: musb: fix power field to hold all possible values X-Git-Tag: v2.6.34-rc7~38^2~28 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=1e753451eb1dc97ab8bdad3ae5278301e5b981bf;p=~shefty%2Frdma-dev.git musb: fix power field to hold all possible values MUSB can supply upto 500mA such as, AM3517 and OMAP3EVM Rev >=E and thus the 'power' field has to hold values above 255. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- diff --git a/arch/arm/plat-omap/include/plat/usb.h b/arch/arm/plat-omap/include/plat/usb.h index 568578db93b..876ca8d5e92 100644 --- a/arch/arm/plat-omap/include/plat/usb.h +++ b/arch/arm/plat-omap/include/plat/usb.h @@ -46,7 +46,7 @@ struct ehci_hcd_omap_platform_data { struct omap_musb_board_data { u8 interface_type; u8 mode; - u8 power; + u16 power; }; enum musb_interface {MUSB_INTERFACE_ULPI, MUSB_INTERFACE_UTMI};