Skip to content

Commit

Permalink
USB: chipidea: ci13xxx_imx: Remove sparse warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Greg Kroah-Hartman committed Jan 30, 2013
1 parent de9c630 commit 7b8bc3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/chipidea/ci13xxx_imx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7b8bc3a

Please sign in to comment.