diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7722.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c index 35097753456c..5491b094cf05 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/sh_timer.h> | 17 | #include <linux/sh_timer.h> |
18 | #include <asm/clock.h> | 18 | #include <asm/clock.h> |
19 | #include <asm/mmzone.h> | 19 | #include <asm/mmzone.h> |
20 | #include <asm/dma-sh.h> | ||
20 | #include <cpu/sh7722.h> | 21 | #include <cpu/sh7722.h> |
21 | 22 | ||
22 | static struct resource rtc_resources[] = { | 23 | static struct resource rtc_resources[] = { |
@@ -373,6 +374,18 @@ static struct platform_device sci_device = { | |||
373 | }, | 374 | }, |
374 | }; | 375 | }; |
375 | 376 | ||
377 | static struct sh_dmae_pdata dma_platform_data = { | ||
378 | .mode = 0, | ||
379 | }; | ||
380 | |||
381 | static struct platform_device dma_device = { | ||
382 | .name = "sh-dma-engine", | ||
383 | .id = -1, | ||
384 | .dev = { | ||
385 | .platform_data = &dma_platform_data, | ||
386 | }, | ||
387 | }; | ||
388 | |||
376 | static struct platform_device *sh7722_devices[] __initdata = { | 389 | static struct platform_device *sh7722_devices[] __initdata = { |
377 | &cmt_device, | 390 | &cmt_device, |
378 | &tmu0_device, | 391 | &tmu0_device, |
@@ -385,6 +398,7 @@ static struct platform_device *sh7722_devices[] __initdata = { | |||
385 | &vpu_device, | 398 | &vpu_device, |
386 | &veu_device, | 399 | &veu_device, |
387 | &jpu_device, | 400 | &jpu_device, |
401 | &dma_device, | ||
388 | }; | 402 | }; |
389 | 403 | ||
390 | static int __init sh7722_devices_setup(void) | 404 | static int __init sh7722_devices_setup(void) |