diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-06-13 02:07:31 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-07-01 09:57:43 -0400 |
commit | 88289c80d419897c03f7f43b35e3730d8fb6825b (patch) | |
tree | 026e38319b74258f490e52350af6bc86eaf3ad2b /arch/arm/mach-imx/mach-vpr200.c | |
parent | 544496ab5cbdae312351da4c742ae70cab08dbf2 (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/mach-vpr200.c')
-rw-r--r-- | arch/arm/mach-imx/mach-vpr200.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-imx/mach-vpr200.c b/arch/arm/mach-imx/mach-vpr200.c index e36eb2c40f41..1aa562285960 100644 --- a/arch/arm/mach-imx/mach-vpr200.c +++ b/arch/arm/mach-imx/mach-vpr200.c | |||
@@ -87,10 +87,6 @@ static const struct fb_videomode fb_modedb[] = { | |||
87 | } | 87 | } |
88 | }; | 88 | }; |
89 | 89 | ||
90 | static const struct ipu_platform_data mx3_ipu_data __initconst = { | ||
91 | .irq_base = MXC_IPU_IRQ_START, | ||
92 | }; | ||
93 | |||
94 | static struct mx3fb_platform_data mx3fb_pdata __initdata = { | 90 | static struct mx3fb_platform_data mx3fb_pdata __initdata = { |
95 | .name = "PT0708048", | 91 | .name = "PT0708048", |
96 | .mode = fb_modedb, | 92 | .mode = fb_modedb, |
@@ -290,7 +286,7 @@ static void __init vpr200_board_init(void) | |||
290 | imx35_add_imx_uart0(NULL); | 286 | imx35_add_imx_uart0(NULL); |
291 | imx35_add_imx_uart2(NULL); | 287 | imx35_add_imx_uart2(NULL); |
292 | 288 | ||
293 | imx35_add_ipu_core(&mx3_ipu_data); | 289 | imx35_add_ipu_core(); |
294 | imx35_add_mx3_sdc_fb(&mx3fb_pdata); | 290 | imx35_add_mx3_sdc_fb(&mx3fb_pdata); |
295 | 291 | ||
296 | imx35_add_fsl_usb2_udc(&otg_device_pdata); | 292 | imx35_add_fsl_usb2_udc(&otg_device_pdata); |