Commit 7b8bc3aa authored by Fabio Estevam's avatar Fabio Estevam Committed by Greg Kroah-Hartman

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent de9c6307
...@@ -19,7 +19,7 @@ struct usbmisc_usb_device { ...@@ -19,7 +19,7 @@ struct usbmisc_usb_device {
struct device *dev; /* usb controller device */ struct device *dev; /* usb controller device */
int index; 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); int usbmisc_set_ops(const struct usbmisc_ops *ops);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment