aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-03-28 14:05:47 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-09-27 02:26:20 -0400
commitce3b64f5f1ba9126c7f97115c15abe9c322d24e1 (patch)
treeaf88f88cb46c7ceb388a1b7bc7320e7602e24ce1 /include/video
parent42110e91de7f66f6276afdec8040aedbb8c5a6fd (diff)
video: atmel_lcdfb: pass the pdata as params
so we can use have list gpio as example (probe via DT) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/atmel_lcdc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/video/atmel_lcdc.h b/include/video/atmel_lcdc.h
index f197c54712b0..c79f38131926 100644
--- a/include/video/atmel_lcdc.h
+++ b/include/video/atmel_lcdc.h
@@ -41,8 +41,10 @@ struct atmel_lcdfb_pdata {
41 u8 lcd_wiring_mode; 41 u8 lcd_wiring_mode;
42 unsigned int default_lcdcon2; 42 unsigned int default_lcdcon2;
43 unsigned int default_dmacon; 43 unsigned int default_dmacon;
44 void (*atmel_lcdfb_power_control)(int on); 44 void (*atmel_lcdfb_power_control)(struct atmel_lcdfb_pdata *pdata, int on);
45 struct fb_monspecs *default_monspecs; 45 struct fb_monspecs *default_monspecs;
46
47 struct list_head pwr_gpios;
46}; 48};
47 49
48#define ATMEL_LCDC_DMABADDR1 0x00 50#define ATMEL_LCDC_DMABADDR1 0x00