From 5c2202f9c8202b89ae9ba4233a0d281f300474b9 Mon Sep 17 00:00:00 2001 From: Mariusz Kozlowski Date: Wed, 12 Jan 2011 16:59:21 -0800 Subject: [PATCH] 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 Acked-by: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/video/backlight/l4f00242t03.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ struct l4f00242t03_priv { struct spi_device *spi; struct lcd_device *ld; - int lcd_on:1; + unsigned int lcd_on:1; struct regulator *io_reg; struct regulator *core_reg; }; -- 2.30.2