aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mx31lilly-db.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-06-13 02:07:31 -0400
committerShawn Guo <shawn.guo@linaro.org>2012-07-01 09:57:43 -0400
commit88289c80d419897c03f7f43b35e3730d8fb6825b (patch)
tree026e38319b74258f490e52350af6bc86eaf3ad2b /arch/arm/mach-imx/mx31lilly-db.c
parent544496ab5cbdae312351da4c742ae70cab08dbf2 (diff)
dma: ipu: remove the use of ipu_platform_data
The struct ipu_platform_data is used by platform code to pass MXC_IPU_IRQ_START to ipu-core driver. We can save it by having ipu-core driver call irq_alloc_descs to get the irq_base. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Vinod Koul <vinod.koul@intel.com> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Dong Aisheng <dong.aisheng@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/mx31lilly-db.c')
-rw-r--r--arch/arm/mach-imx/mx31lilly-db.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-imx/mx31lilly-db.c b/arch/arm/mach-imx/mx31lilly-db.c
index 2df625bdc71e..29e890f92055 100644
--- a/arch/arm/mach-imx/mx31lilly-db.c
+++ b/arch/arm/mach-imx/mx31lilly-db.c
@@ -162,10 +162,6 @@ static const struct imxmmc_platform_data mmc_pdata __initconst = {
162}; 162};
163 163
164/* Framebuffer support */ 164/* Framebuffer support */
165static const struct ipu_platform_data ipu_data __initconst = {
166 .irq_base = MXC_IPU_IRQ_START,
167};
168
169static const struct fb_videomode fb_modedb = { 165static const struct fb_videomode fb_modedb = {
170 /* 640x480 TFT panel (IPS-056T) */ 166 /* 640x480 TFT panel (IPS-056T) */
171 .name = "CRT-VGA", 167 .name = "CRT-VGA",
@@ -199,7 +195,7 @@ static void __init mx31lilly_init_fb(void)
199 return; 195 return;
200 } 196 }
201 197
202 imx31_add_ipu_core(&ipu_data); 198 imx31_add_ipu_core();
203 imx31_add_mx3_sdc_fb(&fb_pdata); 199 imx31_add_mx3_sdc_fb(&fb_pdata);
204 gpio_direction_output(LCD_VCC_EN_GPIO, 1); 200 gpio_direction_output(LCD_VCC_EN_GPIO, 1);
205} 201}