USB: chipidea: ci13xxx_imx: Remove sparse warning
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 28 Jan 2013 00:45:05 +0000 (22:45 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2013 05:17:39 +0000 (00:17 -0500)
Remove the following sparse warning:

drivers/usb/chipidea/ci13xxx_imx.h:22:25: error: dubious one-bit signed bitfield
drivers/usb/chipidea/ci13xxx_imx.h:22:25: error: dubious one-bit signed bitfield

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci13xxx_imx.h

index 2e88accb3d6708ffa6572ec88a1c2bf24b6b2a77..9cd2e910b1ca3ae03ecd5a1fa81f5204698d45bf 100644 (file)
@@ -19,7 +19,7 @@ struct usbmisc_usb_device {
        struct device *dev; /* usb controller device */
        int index;
 
-       int disable_oc:1; /* over current detect disabled */
+       unsigned int disable_oc:1; /* over current detect disabled */
 };
 
 int usbmisc_set_ops(const struct usbmisc_ops *ops);