diff options
Diffstat (limited to 'arch/sh/boards/se/7206/setup.c')
-rw-r--r-- | arch/sh/boards/se/7206/setup.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/sh/boards/se/7206/setup.c b/arch/sh/boards/se/7206/setup.c index a074b62505ef..5f041f86e3dd 100644 --- a/arch/sh/boards/se/7206/setup.c +++ b/arch/sh/boards/se/7206/setup.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <asm/se7206.h> | 14 | #include <asm/se7206.h> |
15 | #include <asm/io.h> | 15 | #include <asm/io.h> |
16 | #include <asm/machvec.h> | 16 | #include <asm/machvec.h> |
17 | #include <asm/heartbeat.h> | ||
17 | 18 | ||
18 | static struct resource smc91x_resources[] = { | 19 | static struct resource smc91x_resources[] = { |
19 | [0] = { | 20 | [0] = { |
@@ -37,6 +38,11 @@ static struct platform_device smc91x_device = { | |||
37 | 38 | ||
38 | static unsigned char heartbeat_bit_pos[] = { 8, 9, 10, 11, 12, 13, 14, 15 }; | 39 | static unsigned char heartbeat_bit_pos[] = { 8, 9, 10, 11, 12, 13, 14, 15 }; |
39 | 40 | ||
41 | static struct heartbeat_data heartbeat_data = { | ||
42 | .bit_pos = heartbeat_bit_pos, | ||
43 | .nr_bits = ARRAY_SIZE(heartbeat_bit_pos), | ||
44 | }; | ||
45 | |||
40 | static struct resource heartbeat_resources[] = { | 46 | static struct resource heartbeat_resources[] = { |
41 | [0] = { | 47 | [0] = { |
42 | .start = PA_LED, | 48 | .start = PA_LED, |
@@ -49,7 +55,7 @@ static struct platform_device heartbeat_device = { | |||
49 | .name = "heartbeat", | 55 | .name = "heartbeat", |
50 | .id = -1, | 56 | .id = -1, |
51 | .dev = { | 57 | .dev = { |
52 | .platform_data = heartbeat_bit_pos, | 58 | .platform_data = heartbeat_data, |
53 | }, | 59 | }, |
54 | .num_resources = ARRAY_SIZE(heartbeat_resources), | 60 | .num_resources = ARRAY_SIZE(heartbeat_resources), |
55 | .resource = heartbeat_resources, | 61 | .resource = heartbeat_resources, |