diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2013-12-16 05:23:45 -0500 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2013-12-16 05:23:45 -0500 |
| commit | c4de673b775e4db48cd2db6277e0c6714332ca0c (patch) | |
| tree | 84f9e4728e6ccf257236d2ba063b6e784ec8b65d /include/linux/backlight.h | |
| parent | bafdc614a1f4f8be8cde41b8ab10ac17e67c1837 (diff) | |
| parent | 55957fb7a0b61d8ab6ff3f04e279b8fc22b738fa (diff) | |
Merge remote-tracking branch 'wireless-next/master' into mac80211-next
Diffstat (limited to 'include/linux/backlight.h')
| -rw-r--r-- | include/linux/backlight.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/backlight.h b/include/linux/backlight.h index 53b77949c79d..5f9cd963213d 100644 --- a/include/linux/backlight.h +++ b/include/linux/backlight.h | |||
| @@ -100,6 +100,9 @@ struct backlight_device { | |||
| 100 | /* The framebuffer notifier block */ | 100 | /* The framebuffer notifier block */ |
| 101 | struct notifier_block fb_notif; | 101 | struct notifier_block fb_notif; |
| 102 | 102 | ||
| 103 | /* list entry of all registered backlight devices */ | ||
| 104 | struct list_head entry; | ||
| 105 | |||
| 103 | struct device dev; | 106 | struct device dev; |
| 104 | }; | 107 | }; |
| 105 | 108 | ||
| @@ -123,6 +126,7 @@ extern void devm_backlight_device_unregister(struct device *dev, | |||
| 123 | struct backlight_device *bd); | 126 | struct backlight_device *bd); |
| 124 | extern void backlight_force_update(struct backlight_device *bd, | 127 | extern void backlight_force_update(struct backlight_device *bd, |
| 125 | enum backlight_update_reason reason); | 128 | enum backlight_update_reason reason); |
| 129 | extern bool backlight_device_registered(enum backlight_type type); | ||
| 126 | 130 | ||
| 127 | #define to_backlight_device(obj) container_of(obj, struct backlight_device, dev) | 131 | #define to_backlight_device(obj) container_of(obj, struct backlight_device, dev) |
| 128 | 132 | ||
