We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2d9c49 commit d4db2f1Copy full SHA for d4db2f1
drivers/video/backlight/pandora_bl.c
@@ -11,7 +11,6 @@
11
#include <linux/kernel.h>
12
#include <linux/platform_device.h>
13
#include <linux/delay.h>
14
-#include <linux/fb.h>
15
#include <linux/backlight.h>
16
#include <linux/mfd/twl.h>
17
#include <linux/err.h>
@@ -43,7 +42,7 @@ static int pandora_backlight_update_status(struct backlight_device *bl)
43
42
struct pandora_private *priv = bl_get_data(bl);
44
u8 r;
45
46
- if (bl->props.power != FB_BLANK_UNBLANK)
+ if (bl->props.power != BACKLIGHT_POWER_ON)
47
brightness = 0;
48
if (bl->props.state & BL_CORE_FBBLANK)
49
0 commit comments