From: Fabio Estevam Date: Mon, 28 Jan 2013 00:45:05 +0000 (-0200) Subject: USB: chipidea: ci13xxx_imx: Remove sparse warning X-Git-Tag: v3.9-rc1~126^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b8bc3aad0deabf3bc50cd2fe29bce29be5681fe;p=profile%2Fivi%2Fkernel-x86-ivi.git USB: chipidea: ci13xxx_imx: Remove sparse warning 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/chipidea/ci13xxx_imx.h b/drivers/usb/chipidea/ci13xxx_imx.h index 2e88acc..9cd2e91 100644 --- a/drivers/usb/chipidea/ci13xxx_imx.h +++ b/drivers/usb/chipidea/ci13xxx_imx.h @@ -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);