mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
Merge branch 'acpi-video'
* acpi-video: ACPI: Add Toshiba NB100 to Vista _OSI blacklist ACPI / video: Ignore BIOS initial backlight value for HP 250 G1 ACPI / video: Add Lenovo IdeaPad Yoga 13 to acpi video detect blacklist thinkpad-acpi: fix handle locate for video and query of _BCL ACPI / video: Do not register backlight if win8 and native interface exists ACPI / video: seperate backlight control and event interface backlight: introduce backlight_device_registered ACPI: add missing win8 OSI comment to blacklist ACPI: update win8 OSI blacklist
This commit is contained in:
commit
975bcabb05
7 changed files with 403 additions and 205 deletions
|
|
@ -100,6 +100,9 @@ struct backlight_device {
|
|||
/* The framebuffer notifier block */
|
||||
struct notifier_block fb_notif;
|
||||
|
||||
/* list entry of all registered backlight devices */
|
||||
struct list_head entry;
|
||||
|
||||
struct device dev;
|
||||
};
|
||||
|
||||
|
|
@ -123,6 +126,7 @@ extern void devm_backlight_device_unregister(struct device *dev,
|
|||
struct backlight_device *bd);
|
||||
extern void backlight_force_update(struct backlight_device *bd,
|
||||
enum backlight_update_reason reason);
|
||||
extern bool backlight_device_registered(enum backlight_type type);
|
||||
|
||||
#define to_backlight_device(obj) container_of(obj, struct backlight_device, dev)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue