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 6910d19 commit cebc259Copy full SHA for cebc259
drivers/video/backlight/kb3886_bl.c
@@ -10,9 +10,9 @@
10
#include <linux/module.h>
11
#include <linux/kernel.h>
12
#include <linux/init.h>
13
+#include <linux/io.h>
14
#include <linux/platform_device.h>
15
#include <linux/mutex.h>
-#include <linux/fb.h>
16
#include <linux/backlight.h>
17
#include <linux/delay.h>
18
#include <linux/dmi.h>
@@ -151,7 +151,7 @@ static int kb3886bl_probe(struct platform_device *pdev)
151
152
platform_set_drvdata(pdev, kb3886_backlight_device);
153
154
- kb3886_backlight_device->props.power = FB_BLANK_UNBLANK;
+ kb3886_backlight_device->props.power = BACKLIGHT_POWER_ON;
155
kb3886_backlight_device->props.brightness = machinfo->default_intensity;
156
backlight_update_status(kb3886_backlight_device);
157
0 commit comments