diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-01-28 01:45:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-30 06:17:39 +0100 |
commit | 7b8bc3aad0deabf3bc50cd2fe29bce29be5681fe (patch) | |
tree | 68fdff3102abe07820768927f82964c3722b775d /drivers/usb/chipidea | |
parent | usb/isp1760: declare schedule_ptds() and errata2_function() static (diff) | |
download | linux-7b8bc3aad0deabf3bc50cd2fe29bce29be5681fe.tar.xz linux-7b8bc3aad0deabf3bc50cd2fe29bce29be5681fe.zip |
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 <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea')
-rw-r--r-- | drivers/usb/chipidea/ci13xxx_imx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/ci13xxx_imx.h b/drivers/usb/chipidea/ci13xxx_imx.h index 2e88accb3d67..9cd2e910b1ca 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); |