RDMA/rw: Support threshold for registration vs scattering to local pages
[linux-2.6-microblaze.git] / include / linux / backlight.h
index 0b58974..c7d6b2e 100644 (file)
@@ -46,6 +46,12 @@ enum backlight_notification {
        BACKLIGHT_UNREGISTERED,
 };
 
+enum backlight_scale {
+       BACKLIGHT_SCALE_UNKNOWN = 0,
+       BACKLIGHT_SCALE_LINEAR,
+       BACKLIGHT_SCALE_NON_LINEAR,
+};
+
 struct backlight_device;
 struct fb_info;
 
@@ -80,6 +86,8 @@ struct backlight_properties {
        enum backlight_type type;
        /* Flags used to signal drivers of state changes */
        unsigned int state;
+       /* Type of the brightness scale (linear, non-linear, ...) */
+       enum backlight_scale scale;
 
 #define BL_CORE_SUSPENDED      (1 << 0)        /* backlight is suspended */
 #define BL_CORE_FBBLANK                (1 << 1)        /* backlight is under an fb blank event */