fbdev: sh_mobile_lcdc: Split fb init/cleanup from channel init/cleanup

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Laurent Pinchart
2011-11-29 14:37:35 +01:00
parent fc9e78e6b3
commit a67f379d36
2 changed files with 159 additions and 128 deletions

View File

@@ -64,6 +64,8 @@ struct sh_mobile_lcdc_chan {
struct mutex open_lock; /* protects the use counter */
int use_count;
void *fb_mem;
unsigned long fb_size;
dma_addr_t dma_handle;
unsigned long pan_offset;