diff options
author | Alexandre Courbot <gnurou@gmail.com> | 2011-02-15 22:49:01 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-10 06:20:57 -0500 |
commit | 3b0fd9d75598584478d1d3f6551f8a8a9696c34e (patch) | |
tree | aec7b48dbbb6810b15885ea34cf8041798e534bb /drivers/video/sh_mobile_lcdcfb.h | |
parent | 35d34df711e8b44846e759d8cfddb4ec6877cccb (diff) |
fbdev: sh_mobile_lcdcfb: add backlight support
Support for backlight devices controlled through board-specific
routines. Backlights can be defined per-channel and follow fbdev
directives to switch off as the LCD blanks or is turned on/off.
Signed-off-by: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/sh_mobile_lcdcfb.h')
-rw-r--r-- | drivers/video/sh_mobile_lcdcfb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.h b/drivers/video/sh_mobile_lcdcfb.h index 9ecee2fba1d7..03a22dcbcc59 100644 --- a/drivers/video/sh_mobile_lcdcfb.h +++ b/drivers/video/sh_mobile_lcdcfb.h | |||
@@ -16,6 +16,7 @@ enum { LDDCKPAT1R, LDDCKPAT2R, LDMT1R, LDMT2R, LDMT3R, LDDFR, LDSM1R, | |||
16 | 16 | ||
17 | struct sh_mobile_lcdc_priv; | 17 | struct sh_mobile_lcdc_priv; |
18 | struct fb_info; | 18 | struct fb_info; |
19 | struct backlight_device; | ||
19 | 20 | ||
20 | struct sh_mobile_lcdc_chan { | 21 | struct sh_mobile_lcdc_chan { |
21 | struct sh_mobile_lcdc_priv *lcdc; | 22 | struct sh_mobile_lcdc_priv *lcdc; |
@@ -26,6 +27,7 @@ struct sh_mobile_lcdc_chan { | |||
26 | u32 pseudo_palette[PALETTE_NR]; | 27 | u32 pseudo_palette[PALETTE_NR]; |
27 | unsigned long saved_ch_regs[NR_CH_REGS]; | 28 | unsigned long saved_ch_regs[NR_CH_REGS]; |
28 | struct fb_info *info; | 29 | struct fb_info *info; |
30 | struct backlight_device *bl; | ||
29 | dma_addr_t dma_handle; | 31 | dma_addr_t dma_handle; |
30 | struct fb_deferred_io defio; | 32 | struct fb_deferred_io defio; |
31 | struct scatterlist *sglist; | 33 | struct scatterlist *sglist; |