Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166327
b: refs/heads/master
c: 8255fff
h: refs/heads/master
i:
  166325: c19c566
  166323: 81e3ee5
  166319: 50a264d
v: v3
  • Loading branch information
Nobuhiro Iwamatsu authored and Paul Mundt committed Sep 25, 2009
1 parent 0ebba98 commit a37c856
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c373ba999103fa794f041eab5bd490714d2dee88
refs/heads/master: 8255fff45b2a9b53f8bf39147157ddaf9c72a585
14 changes: 14 additions & 0 deletions trunk/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <linux/sh_timer.h>
#include <asm/clock.h>
#include <asm/mmzone.h>
#include <asm/dma-sh.h>
#include <cpu/sh7722.h>

static struct resource rtc_resources[] = {
Expand Down Expand Up @@ -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,
Expand All @@ -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)
Expand Down

0 comments on commit a37c856

Please sign in to comment.