aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-09-20 07:27:44 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-02-23 02:39:18 -0500
commit80277566d0d85b3430548ba87ad28b0585ef06a6 (patch)
tree88a5295393e09d0203d264e49103908ba1ea8e43 /drivers/video/omap
parent1e434f9318efc3dddc0c0b8d2071712668154c2b (diff)
OMAPFB: remove mem info from platform_data
omapfb driver used platform_data to get fb memory areas and formats defined by the board file. This patch removes omapfb's (both old and new omapfb) use of the memory data in platform_data, because: - No board uses them currently - It's not board file's job to define things like amount of default framebuffer memory. These should come from the bootloader via command line parameters. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap')
-rw-r--r--drivers/video/omap/omapfb_main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c
index aaf0990162cc..3d2e14798210 100644
--- a/drivers/video/omap/omapfb_main.c
+++ b/drivers/video/omap/omapfb_main.c
@@ -157,11 +157,6 @@ static int ctrl_init(struct omapfb_device *fbdev)
157 fbdev->mem_desc.region[i].size = 157 fbdev->mem_desc.region[i].size =
158 PAGE_ALIGN(def_vram[i]); 158 PAGE_ALIGN(def_vram[i]);
159 fbdev->mem_desc.region_cnt = i; 159 fbdev->mem_desc.region_cnt = i;
160 } else {
161 struct omapfb_platform_data *conf;
162
163 conf = fbdev->dev->platform_data;
164 fbdev->mem_desc = conf->mem_desc;
165 } 160 }
166 161
167 if (!fbdev->mem_desc.region_cnt) { 162 if (!fbdev->mem_desc.region_cnt) {