]> err.no Git - linux-2.6/blobdiff - include/linux/fb.h
locks: add lock cancel command
[linux-2.6] / include / linux / fb.h
index bf7158b59b25467d1a93c83329cfa389574c2298..be913ec871692e58fc9dfe798aa4ad0154629bd5 100644 (file)
@@ -769,16 +769,13 @@ struct fb_info {
        struct fb_videomode *mode;      /* current mode */
 
 #ifdef CONFIG_FB_BACKLIGHT
-       /* Lock ordering:
-        * bl_mutex (protects bl_dev and bl_curve)
-        *   bl_dev->sem (backlight class)
-        */
-       struct mutex bl_mutex;
-
        /* assigned backlight device */
+       /* set before framebuffer registration, 
+          remove after unregister */
        struct backlight_device *bl_dev;
 
        /* Backlight level curve */
+       struct mutex bl_curve_mutex;    
        u8 bl_curve[FB_BACKLIGHT_LEVELS];
 #endif