diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-07-24 15:36:56 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-07-24 15:36:56 -0400 |
| commit | b9f12a5d97f652c77ef6803dccd0d40d1290f5be (patch) | |
| tree | 8f58c8620ffef0d350a5ec022feda492a96b179a /include/linux/backlight.h | |
| parent | 9d8dc3e529a19e427fd379118acd132520935c5d (diff) | |
| parent | 9a3c4145af32125c5ee39c0272662b47307a8323 (diff) | |
Merge tag 'v3.16-rc6' into next
Merge with mainline to bring in changes to MFD to allow merging
ipaq-micro-ts driver.
Diffstat (limited to 'include/linux/backlight.h')
| -rw-r--r-- | include/linux/backlight.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/backlight.h b/include/linux/backlight.h index 72647429adf6..adb14a8616df 100644 --- a/include/linux/backlight.h +++ b/include/linux/backlight.h | |||
| @@ -40,6 +40,11 @@ enum backlight_type { | |||
| 40 | BACKLIGHT_TYPE_MAX, | 40 | BACKLIGHT_TYPE_MAX, |
| 41 | }; | 41 | }; |
| 42 | 42 | ||
| 43 | enum backlight_notification { | ||
| 44 | BACKLIGHT_REGISTERED, | ||
| 45 | BACKLIGHT_UNREGISTERED, | ||
| 46 | }; | ||
| 47 | |||
| 43 | struct backlight_device; | 48 | struct backlight_device; |
| 44 | struct fb_info; | 49 | struct fb_info; |
| 45 | 50 | ||
| @@ -133,6 +138,8 @@ extern void devm_backlight_device_unregister(struct device *dev, | |||
| 133 | extern void backlight_force_update(struct backlight_device *bd, | 138 | extern void backlight_force_update(struct backlight_device *bd, |
| 134 | enum backlight_update_reason reason); | 139 | enum backlight_update_reason reason); |
| 135 | extern bool backlight_device_registered(enum backlight_type type); | 140 | extern bool backlight_device_registered(enum backlight_type type); |
| 141 | extern int backlight_register_notifier(struct notifier_block *nb); | ||
| 142 | extern int backlight_unregister_notifier(struct notifier_block *nb); | ||
| 136 | 143 | ||
| 137 | #define to_backlight_device(obj) container_of(obj, struct backlight_device, dev) | 144 | #define to_backlight_device(obj) container_of(obj, struct backlight_device, dev) |
| 138 | 145 | ||
