diff options
Diffstat (limited to 'arch/sh/boards/board-polaris.c')
-rw-r--r-- | arch/sh/boards/board-polaris.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/arch/sh/boards/board-polaris.c b/arch/sh/boards/board-polaris.c index 62607eb5100..5bc126900ce 100644 --- a/arch/sh/boards/board-polaris.c +++ b/arch/sh/boards/board-polaris.c | |||
@@ -59,15 +59,12 @@ static unsigned char heartbeat_bit_pos[] = { 0, 1, 2, 3 }; | |||
59 | static struct heartbeat_data heartbeat_data = { | 59 | static struct heartbeat_data heartbeat_data = { |
60 | .bit_pos = heartbeat_bit_pos, | 60 | .bit_pos = heartbeat_bit_pos, |
61 | .nr_bits = ARRAY_SIZE(heartbeat_bit_pos), | 61 | .nr_bits = ARRAY_SIZE(heartbeat_bit_pos), |
62 | .regsize = 8, | ||
63 | }; | 62 | }; |
64 | 63 | ||
65 | static struct resource heartbeat_resources[] = { | 64 | static struct resource heartbeat_resource = { |
66 | [0] = { | 65 | .start = PORT_PCDR, |
67 | .start = PORT_PCDR, | 66 | .end = PORT_PCDR, |
68 | .end = PORT_PCDR, | 67 | .flags = IORESOURCE_MEM | IORESOURCE_MEM_8BIT, |
69 | .flags = IORESOURCE_MEM, | ||
70 | }, | ||
71 | }; | 68 | }; |
72 | 69 | ||
73 | static struct platform_device heartbeat_device = { | 70 | static struct platform_device heartbeat_device = { |
@@ -76,8 +73,8 @@ static struct platform_device heartbeat_device = { | |||
76 | .dev = { | 73 | .dev = { |
77 | .platform_data = &heartbeat_data, | 74 | .platform_data = &heartbeat_data, |
78 | }, | 75 | }, |
79 | .num_resources = ARRAY_SIZE(heartbeat_resources), | 76 | .num_resources = 1, |
80 | .resource = heartbeat_resources, | 77 | .resource = &heartbeat_resource, |
81 | }; | 78 | }; |
82 | 79 | ||
83 | static struct platform_device *polaris_devices[] __initdata = { | 80 | static struct platform_device *polaris_devices[] __initdata = { |