fbdev: sh_mobile_lcdc: Don't store copy of platform data
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 21 Nov 2011 23:56:58 +0000 (00:56 +0100)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 12 Mar 2012 21:41:12 +0000 (22:41 +0100)
commitb5ef967df13d4d243a2954c32bdd9181a1ee7382
tree2c8259f90d5bd79aeb20f210aabd9f5459e352ff
parentd81d5fa8adfb0ba19f44bb6c4c04a2a23effac3f
fbdev: sh_mobile_lcdc: Don't store copy of platform data

Instead of copying the whole platform data structure to struct
sh_mobile_lcdc_chan, store a const pointer to the channel platform data.

MERAM configuration information needs to be changed at runtime, so copy
it to struct sh_mobile_lcdc_chan.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/video/sh_mobile_lcdcfb.c
drivers/video/sh_mobile_lcdcfb.h
include/video/sh_mobile_lcdc.h