diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/fb.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h index bf7158b59b25..be913ec87169 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h | |||
| @@ -769,16 +769,13 @@ struct fb_info { | |||
| 769 | struct fb_videomode *mode; /* current mode */ | 769 | struct fb_videomode *mode; /* current mode */ |
| 770 | 770 | ||
| 771 | #ifdef CONFIG_FB_BACKLIGHT | 771 | #ifdef CONFIG_FB_BACKLIGHT |
| 772 | /* Lock ordering: | ||
| 773 | * bl_mutex (protects bl_dev and bl_curve) | ||
| 774 | * bl_dev->sem (backlight class) | ||
| 775 | */ | ||
| 776 | struct mutex bl_mutex; | ||
| 777 | |||
| 778 | /* assigned backlight device */ | 772 | /* assigned backlight device */ |
| 773 | /* set before framebuffer registration, | ||
| 774 | remove after unregister */ | ||
| 779 | struct backlight_device *bl_dev; | 775 | struct backlight_device *bl_dev; |
| 780 | 776 | ||
| 781 | /* Backlight level curve */ | 777 | /* Backlight level curve */ |
| 778 | struct mutex bl_curve_mutex; | ||
| 782 | u8 bl_curve[FB_BACKLIGHT_LEVELS]; | 779 | u8 bl_curve[FB_BACKLIGHT_LEVELS]; |
| 783 | #endif | 780 | #endif |
| 784 | 781 | ||
