diff options
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2007-11-07 00:56:46 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-11-07 00:56:46 -0500 |
commit | 9c88b6ba1c72a8bba30347b63f1531f2d9c2a309 (patch) | |
tree | 2ba3e1c534f4fe9f565b93806fd67426929d9fb2 /arch/sh/boards/se/7722/setup.c | |
parent | 694caef5e201d43151cc3a31b447e75b2f531de4 (diff) |
sh: Fix heartbeart on Solution Engine series
Access size to LED is not added on Solution Engine series.
LED doesn't work. Fixed this problem.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/se/7722/setup.c')
-rw-r--r-- | arch/sh/boards/se/7722/setup.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/boards/se/7722/setup.c b/arch/sh/boards/se/7722/setup.c index 20f064083cc2..eb97dca5b736 100644 --- a/arch/sh/boards/se/7722/setup.c +++ b/arch/sh/boards/se/7722/setup.c | |||
@@ -16,8 +16,13 @@ | |||
16 | #include <asm/machvec.h> | 16 | #include <asm/machvec.h> |
17 | #include <asm/se7722.h> | 17 | #include <asm/se7722.h> |
18 | #include <asm/io.h> | 18 | #include <asm/io.h> |
19 | #include <asm/heartbeat.h> | ||
19 | 20 | ||
20 | /* Heartbeat */ | 21 | /* Heartbeat */ |
22 | static struct heartbeat_data heartbeat_data = { | ||
23 | .regsize = 16, | ||
24 | }; | ||
25 | |||
21 | static struct resource heartbeat_resources[] = { | 26 | static struct resource heartbeat_resources[] = { |
22 | [0] = { | 27 | [0] = { |
23 | .start = PA_LED, | 28 | .start = PA_LED, |
@@ -29,6 +34,9 @@ static struct resource heartbeat_resources[] = { | |||
29 | static struct platform_device heartbeat_device = { | 34 | static struct platform_device heartbeat_device = { |
30 | .name = "heartbeat", | 35 | .name = "heartbeat", |
31 | .id = -1, | 36 | .id = -1, |
37 | .dev = { | ||
38 | .platform_data = &heartbeat_data, | ||
39 | }, | ||
32 | .num_resources = ARRAY_SIZE(heartbeat_resources), | 40 | .num_resources = ARRAY_SIZE(heartbeat_resources), |
33 | .resource = heartbeat_resources, | 41 | .resource = heartbeat_resources, |
34 | }; | 42 | }; |