diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-07-13 06:13:47 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-08-19 02:22:40 -0400 |
commit | 9a217e3444ec0c3a0dba35f7b4221af6671da67b (patch) | |
tree | 86044d5d57a0bbf477c0aa8eb4a655ba4ab825a7 /drivers/video/sh_mobile_lcdcfb.h | |
parent | 505c7de51fe5ebb81fac096cb8cebd7cb45b7955 (diff) |
fbdev: sh_mobile_lcdc: Split LCDC start code from sh_mobile_lcdc_start
Splitting the LCDC start code from clock, MERAM and panel management
will make the code usable by runtime PM.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/video/sh_mobile_lcdcfb.h')
-rw-r--r-- | drivers/video/sh_mobile_lcdcfb.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.h b/drivers/video/sh_mobile_lcdcfb.h index aeed6687e6a7..a06219ba41ae 100644 --- a/drivers/video/sh_mobile_lcdcfb.h +++ b/drivers/video/sh_mobile_lcdcfb.h | |||
@@ -18,6 +18,13 @@ struct sh_mobile_lcdc_priv; | |||
18 | struct fb_info; | 18 | struct fb_info; |
19 | struct backlight_device; | 19 | struct backlight_device; |
20 | 20 | ||
21 | /* | ||
22 | * struct sh_mobile_lcdc_chan - LCDC display channel | ||
23 | * | ||
24 | * @base_addr_y: Frame buffer viewport base address (luma component) | ||
25 | * @base_addr_c: Frame buffer viewport base address (chroma component) | ||
26 | * @pitch: Frame buffer line pitch | ||
27 | */ | ||
21 | struct sh_mobile_lcdc_chan { | 28 | struct sh_mobile_lcdc_chan { |
22 | struct sh_mobile_lcdc_priv *lcdc; | 29 | struct sh_mobile_lcdc_priv *lcdc; |
23 | unsigned long *reg_offs; | 30 | unsigned long *reg_offs; |
@@ -40,6 +47,10 @@ struct sh_mobile_lcdc_chan { | |||
40 | int blank_status; | 47 | int blank_status; |
41 | struct mutex open_lock; /* protects the use counter */ | 48 | struct mutex open_lock; /* protects the use counter */ |
42 | int meram_enabled; | 49 | int meram_enabled; |
50 | |||
51 | unsigned long base_addr_y; | ||
52 | unsigned long base_addr_c; | ||
53 | unsigned int pitch; | ||
43 | }; | 54 | }; |
44 | 55 | ||
45 | #endif | 56 | #endif |