From a37c856dbccd7167f73313b03ded86d05c3dc1ca Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Thu, 12 Mar 2009 07:31:41 +0000 Subject: [PATCH] --- yaml --- r: 166327 b: refs/heads/master c: 8255fff45b2a9b53f8bf39147157ddaf9c72a585 h: refs/heads/master i: 166325: c19c566a36afbddc45f0c1e328d414f96c920acf 166323: 81e3ee5514f3937856439e531d78924f305ede52 166319: 50a264d1b50ef194e125ccd6b03965b3f9ece093 v: v3 --- [refs] | 2 +- trunk/arch/sh/kernel/cpu/sh4a/setup-sh7722.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 74c5fbfcd7a1..57fdb7f21f81 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c373ba999103fa794f041eab5bd490714d2dee88 +refs/heads/master: 8255fff45b2a9b53f8bf39147157ddaf9c72a585 diff --git a/trunk/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/trunk/arch/sh/kernel/cpu/sh4a/setup-sh7722.c index 35097753456c..5491b094cf05 100644 --- a/trunk/arch/sh/kernel/cpu/sh4a/setup-sh7722.c +++ b/trunk/arch/sh/kernel/cpu/sh4a/setup-sh7722.c @@ -17,6 +17,7 @@ #include #include #include +#include #include static struct resource rtc_resources[] = { @@ -373,6 +374,18 @@ static struct platform_device sci_device = { }, }; +static struct sh_dmae_pdata dma_platform_data = { + .mode = 0, +}; + +static struct platform_device dma_device = { + .name = "sh-dma-engine", + .id = -1, + .dev = { + .platform_data = &dma_platform_data, + }, +}; + static struct platform_device *sh7722_devices[] __initdata = { &cmt_device, &tmu0_device, @@ -385,6 +398,7 @@ static struct platform_device *sh7722_devices[] __initdata = { &vpu_device, &veu_device, &jpu_device, + &dma_device, }; static int __init sh7722_devices_setup(void)