sysfs: Remove signed one-bit fields.

Eliminates the following warning from sparse:
  drivers/dahdi/dahdi-sysfs-chan.c:50:29: error: dubious one-bit signed bitfield

Signed-off-by: Shaun Ruffell <sruffell@digium.com>
This commit is contained in:
Shaun Ruffell 2012-12-13 11:07:43 -06:00
parent 82cf3c7b13
commit 19cef998bd

View File

@ -47,9 +47,9 @@ static struct cdev dahdi_channels_cdev; /*!< Channels chardev's */
* succeeded.
*/
static struct {
int channel_driver:1;
int channels_bus:1;
int cdev:1;
u32 channel_driver:1;
u32 channels_bus:1;
u32 cdev:1;
} should_cleanup;
#define chan_attr(field, format_string) \