projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f9455a
)
drivers/video/backlight/l4f00242t03.c: make 1-bit signed field unsigned
author
Mariusz Kozlowski
<
[email protected]
>
Thu, 13 Jan 2011 00:59:21 +0000
(16:59 -0800)
committer
Linus Torvalds
<
[email protected]
>
Thu, 13 Jan 2011 16:03:06 +0000
(08:03 -0800)
Fixes sparse warning:
drivers/video/backlight/l4f00242t03.c:28:21: error: dubious one-bit signed bitfield
Signed-off-by: Mariusz Kozlowski <
[email protected]
>
Acked-by: Richard Purdie <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/backlight/l4f00242t03.c
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/l4f00242t03.c
b/drivers/video/backlight/l4f00242t03.c
index c67801e57aafb24f546250bcbdb45d59bcb5b9d4..6d9ba0e2b0c50e2429dcb61c90eb611e6af115e5 100644
(file)
--- 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;
};