diff options
author | Mariusz Kozlowski <mk@lab.zgora.pl> | 2011-01-12 19:59:21 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 11:03:06 -0500 |
commit | 5c2202f9c8202b89ae9ba4233a0d281f300474b9 (patch) | |
tree | c4a603a2eeec2947bd7ada620b1f333eb8caabaf /drivers/video/backlight | |
parent | 9f9455ae710786bd11625d501567f4f783fedea5 (diff) |
drivers/video/backlight/l4f00242t03.c: make 1-bit signed field unsigned
Fixes sparse warning:
drivers/video/backlight/l4f00242t03.c:28:21: error: dubious one-bit signed bitfield
Signed-off-by: Mariusz Kozlowski <mk@lab.zgora.pl>
Acked-by: Richard Purdie <rpurdie@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r-- | drivers/video/backlight/l4f00242t03.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/l4f00242t03.c b/drivers/video/backlight/l4f00242t03.c index c67801e57aaf..6d9ba0e2b0c5 100644 --- a/drivers/video/backlight/l4f00242t03.c +++ b/drivers/video/backlight/l4f00242t03.c | |||
@@ -25,7 +25,7 @@ | |||
25 | struct l4f00242t03_priv { | 25 | struct l4f00242t03_priv { |
26 | struct spi_device *spi; | 26 | struct spi_device *spi; |
27 | struct lcd_device *ld; | 27 | struct lcd_device *ld; |
28 | int lcd_on:1; | 28 | unsigned int lcd_on:1; |
29 | struct regulator *io_reg; | 29 | struct regulator *io_reg; |
30 | struct regulator *core_reg; | 30 | struct regulator *core_reg; |
31 | }; | 31 | }; |