diff options
Diffstat (limited to 'arch/sh/boards/se/7780/setup.c')
-rw-r--r-- | arch/sh/boards/se/7780/setup.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/sh/boards/se/7780/setup.c b/arch/sh/boards/se/7780/setup.c index 723f2fd4d55b..76e53b26a808 100644 --- a/arch/sh/boards/se/7780/setup.c +++ b/arch/sh/boards/se/7780/setup.c | |||
@@ -16,12 +16,10 @@ | |||
16 | #include <asm/io.h> | 16 | #include <asm/io.h> |
17 | 17 | ||
18 | /* Heartbeat */ | 18 | /* Heartbeat */ |
19 | static unsigned char heartbeat_bit_pos[] = { 0, 1, 2, 3, 4, 5, 6, 7 }; | ||
20 | |||
21 | static struct resource heartbeat_resources[] = { | 19 | static struct resource heartbeat_resources[] = { |
22 | [0] = { | 20 | [0] = { |
23 | .start = PA_LED, | 21 | .start = PA_LED, |
24 | .end = PA_LED + ARRAY_SIZE(heartbeat_bit_pos) - 1, | 22 | .end = PA_LED, |
25 | .flags = IORESOURCE_MEM, | 23 | .flags = IORESOURCE_MEM, |
26 | }, | 24 | }, |
27 | }; | 25 | }; |
@@ -29,9 +27,6 @@ static struct resource heartbeat_resources[] = { | |||
29 | static struct platform_device heartbeat_device = { | 27 | static struct platform_device heartbeat_device = { |
30 | .name = "heartbeat", | 28 | .name = "heartbeat", |
31 | .id = -1, | 29 | .id = -1, |
32 | .dev = { | ||
33 | .platform_data = heartbeat_bit_pos, | ||
34 | }, | ||
35 | .num_resources = ARRAY_SIZE(heartbeat_resources), | 30 | .num_resources = ARRAY_SIZE(heartbeat_resources), |
36 | .resource = heartbeat_resources, | 31 | .resource = heartbeat_resources, |
37 | }; | 32 | }; |