summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
diff options
context:
space:
mode:
authorPaul Walmsley2011-07-10 03:14:07 +0200
committerPaul Walmsley2011-07-10 03:14:07 +0200
commitd826ebfa49aeb8a8f4d216165e5e00826741ad9c (patch)
tree9173b27910862618f3fe356ee15a22a0aa7e976f /arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
parentomap_hwmod: use a terminator record with omap_hwmod_dma_info arrays (diff)
downloadkernel-qcow2-linux-d826ebfa49aeb8a8f4d216165e5e00826741ad9c.tar.gz
kernel-qcow2-linux-d826ebfa49aeb8a8f4d216165e5e00826741ad9c.tar.xz
kernel-qcow2-linux-d826ebfa49aeb8a8f4d216165e5e00826741ad9c.zip
omap_hwmod: share identical omap_hwmod_dma_info arrays
To reduce kernel source file data duplication, share struct omap_hwmod_dma_info arrays across OMAP2xxx and 3xxx hwmod data files. Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c b/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
index 5a078a652c33..f5b63efb1b67 100644
--- a/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
@@ -10,6 +10,7 @@
*/
#include <plat/omap_hwmod.h>
#include <plat/serial.h>
+#include <plat/dma.h>
#include <mach/irqs.h>
@@ -19,3 +20,8 @@ struct omap_hwmod_irq_info omap2xxx_timer12_mpu_irqs[] = {
{ .irq = 48, },
{ .irq = -1 }
};
+
+struct omap_hwmod_dma_info omap2xxx_dss_sdma_chs[] = {
+ { .name = "dispc", .dma_req = 5 },
+ { .dma_req = -1 }
+};