diff options
Diffstat (limited to 'drivers/video/omap/omapfb_main.c')
-rw-r--r-- | drivers/video/omap/omapfb_main.c | 5 |
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) { |