summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sh/kernel/cpu/sh4a/setup-sh7722.c3
-rw-r--r--arch/sh/kernel/cpu/sh4a/setup-sh7724.c6
2 files changed, 9 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
index 89f8491..fd7e363 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
@@ -163,6 +163,9 @@ struct platform_device dma_device = {
.dev = {
.platform_data = &dma_platform_data,
},
+ .archdata = {
+ .hwblk_id = HWBLK_DMAC,
+ },
};
/* Serial */
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c
index d9cb2c4..e7fa2a9 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c
@@ -189,6 +189,9 @@ static struct platform_device dma0_device = {
.dev = {
.platform_data = &dma0_platform_data,
},
+ .archdata = {
+ .hwblk_id = HWBLK_DMAC0,
+ },
};
static struct platform_device dma1_device = {
@@ -199,6 +202,9 @@ static struct platform_device dma1_device = {
.dev = {
.platform_data = &dma1_platform_data,
},
+ .archdata = {
+ .hwblk_id = HWBLK_DMAC1,
+ },
};
/* Serial */
OpenPOWER on IntegriCloud