]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/backlight.h
memcg, slab: do not destroy children caches if parent has aliases
[karo-tx-linux.git] / include / linux / backlight.h
index 5f9cd963213dd3a3150abd3e34f62a6925096053..72647429adf61e3fac4b0b91efc0f9c1eeb2c63c 100644 (file)
@@ -9,6 +9,7 @@
 #define _LINUX_BACKLIGHT_H
 
 #include <linux/device.h>
+#include <linux/fb.h>
 #include <linux/mutex.h>
 #include <linux/notifier.h>
 
@@ -104,6 +105,11 @@ struct backlight_device {
        struct list_head entry;
 
        struct device dev;
+
+       /* Multiple framebuffers may share one backlight device */
+       bool fb_bl_on[FB_MAX];
+
+       int use_count;
 };
 
 static inline void backlight_update_status(struct backlight_device *bd)