diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/boards/mpc1211/setup.c | 2 | ||||
-rw-r--r-- | arch/sh/boards/renesas/r7780rp/setup.c | 4 | ||||
-rw-r--r-- | arch/sh/boards/renesas/rts7751r2d/setup.c | 2 | ||||
-rw-r--r-- | arch/sh/boards/renesas/x3proto/setup.c | 2 | ||||
-rw-r--r-- | arch/sh/boards/se/7206/setup.c | 4 | ||||
-rw-r--r-- | arch/sh/boards/se/7343/setup.c | 2 | ||||
-rw-r--r-- | arch/sh/boards/se/770x/setup.c | 4 | ||||
-rw-r--r-- | arch/sh/boards/se/7722/setup.c | 2 | ||||
-rw-r--r-- | arch/sh/boards/se/7751/setup.c | 4 | ||||
-rw-r--r-- | arch/sh/boards/se/7780/setup.c | 2 | ||||
-rw-r--r-- | arch/sh/boards/sh03/setup.c | 2 |
11 files changed, 15 insertions, 15 deletions
diff --git a/arch/sh/boards/mpc1211/setup.c b/arch/sh/boards/mpc1211/setup.c index 8ce03e00b0ae..fede36361dc7 100644 --- a/arch/sh/boards/mpc1211/setup.c +++ b/arch/sh/boards/mpc1211/setup.c | |||
@@ -285,7 +285,7 @@ static int put_smb_blk(unsigned char *p, int address, int command, int no) | |||
285 | static struct resource heartbeat_resources[] = { | 285 | static struct resource heartbeat_resources[] = { |
286 | [0] = { | 286 | [0] = { |
287 | .start = 0xa2000000, | 287 | .start = 0xa2000000, |
288 | .end = 0xa2000000 + 8 - 1, | 288 | .end = 0xa2000000, |
289 | .flags = IORESOURCE_MEM, | 289 | .flags = IORESOURCE_MEM, |
290 | }, | 290 | }, |
291 | }; | 291 | }; |
diff --git a/arch/sh/boards/renesas/r7780rp/setup.c b/arch/sh/boards/renesas/r7780rp/setup.c index 1062346e1d34..3ab5fc4b55b7 100644 --- a/arch/sh/boards/renesas/r7780rp/setup.c +++ b/arch/sh/boards/renesas/r7780rp/setup.c | |||
@@ -112,7 +112,7 @@ static struct platform_device cf_ide_device = { | |||
112 | static struct resource heartbeat_resources[] = { | 112 | static struct resource heartbeat_resources[] = { |
113 | [0] = { | 113 | [0] = { |
114 | .start = PA_OBLED, | 114 | .start = PA_OBLED, |
115 | .end = PA_OBLED + 8 - 1, | 115 | .end = PA_OBLED, |
116 | .flags = IORESOURCE_MEM, | 116 | .flags = IORESOURCE_MEM, |
117 | }, | 117 | }, |
118 | }; | 118 | }; |
@@ -133,7 +133,7 @@ static struct platform_device heartbeat_device = { | |||
133 | /* R7785RP has a slightly more sensible FPGA.. */ | 133 | /* R7785RP has a slightly more sensible FPGA.. */ |
134 | #ifndef CONFIG_SH_R7785RP | 134 | #ifndef CONFIG_SH_R7785RP |
135 | .dev = { | 135 | .dev = { |
136 | .platform_data = heartbeat_data, | 136 | .platform_data = &heartbeat_data, |
137 | }, | 137 | }, |
138 | #endif | 138 | #endif |
139 | .num_resources = ARRAY_SIZE(heartbeat_resources), | 139 | .num_resources = ARRAY_SIZE(heartbeat_resources), |
diff --git a/arch/sh/boards/renesas/rts7751r2d/setup.c b/arch/sh/boards/renesas/rts7751r2d/setup.c index bea9848e5ff8..e62107d46fd9 100644 --- a/arch/sh/boards/renesas/rts7751r2d/setup.c +++ b/arch/sh/boards/renesas/rts7751r2d/setup.c | |||
@@ -76,7 +76,7 @@ static struct platform_device cf_ide_device = { | |||
76 | static struct resource heartbeat_resources[] = { | 76 | static struct resource heartbeat_resources[] = { |
77 | [0] = { | 77 | [0] = { |
78 | .start = PA_OUTPORT, | 78 | .start = PA_OUTPORT, |
79 | .end = PA_OUTPORT + 8 - 1, | 79 | .end = PA_OUTPORT, |
80 | .flags = IORESOURCE_MEM, | 80 | .flags = IORESOURCE_MEM, |
81 | }, | 81 | }, |
82 | }; | 82 | }; |
diff --git a/arch/sh/boards/renesas/x3proto/setup.c b/arch/sh/boards/renesas/x3proto/setup.c index 0e26d3e7e4e1..abc5b6d418fe 100644 --- a/arch/sh/boards/renesas/x3proto/setup.c +++ b/arch/sh/boards/renesas/x3proto/setup.c | |||
@@ -18,7 +18,7 @@ | |||
18 | static struct resource heartbeat_resources[] = { | 18 | static struct resource heartbeat_resources[] = { |
19 | [0] = { | 19 | [0] = { |
20 | .start = 0xb8140020, | 20 | .start = 0xb8140020, |
21 | .end = 0xb8140020 + 8 - 1, | 21 | .end = 0xb8140020, |
22 | .flags = IORESOURCE_MEM, | 22 | .flags = IORESOURCE_MEM, |
23 | }, | 23 | }, |
24 | }; | 24 | }; |
diff --git a/arch/sh/boards/se/7206/setup.c b/arch/sh/boards/se/7206/setup.c index 5f041f86e3dd..293ba464f334 100644 --- a/arch/sh/boards/se/7206/setup.c +++ b/arch/sh/boards/se/7206/setup.c | |||
@@ -46,7 +46,7 @@ static struct heartbeat_data heartbeat_data = { | |||
46 | static struct resource heartbeat_resources[] = { | 46 | static struct resource heartbeat_resources[] = { |
47 | [0] = { | 47 | [0] = { |
48 | .start = PA_LED, | 48 | .start = PA_LED, |
49 | .end = PA_LED + ARRAY_SIZE(heartbeat_bit_pos) - 1, | 49 | .end = PA_LED, |
50 | .flags = IORESOURCE_MEM, | 50 | .flags = IORESOURCE_MEM, |
51 | }, | 51 | }, |
52 | }; | 52 | }; |
@@ -55,7 +55,7 @@ static struct platform_device heartbeat_device = { | |||
55 | .name = "heartbeat", | 55 | .name = "heartbeat", |
56 | .id = -1, | 56 | .id = -1, |
57 | .dev = { | 57 | .dev = { |
58 | .platform_data = heartbeat_data, | 58 | .platform_data = &heartbeat_data, |
59 | }, | 59 | }, |
60 | .num_resources = ARRAY_SIZE(heartbeat_resources), | 60 | .num_resources = ARRAY_SIZE(heartbeat_resources), |
61 | .resource = heartbeat_resources, | 61 | .resource = heartbeat_resources, |
diff --git a/arch/sh/boards/se/7343/setup.c b/arch/sh/boards/se/7343/setup.c index 8fec155e2ff7..c9431b3a051b 100644 --- a/arch/sh/boards/se/7343/setup.c +++ b/arch/sh/boards/se/7343/setup.c | |||
@@ -33,7 +33,7 @@ static struct platform_device smc91x_device = { | |||
33 | static struct resource heartbeat_resources[] = { | 33 | static struct resource heartbeat_resources[] = { |
34 | [0] = { | 34 | [0] = { |
35 | .start = PA_LED, | 35 | .start = PA_LED, |
36 | .end = PA_LED + 8 - 1, | 36 | .end = PA_LED, |
37 | .flags = IORESOURCE_MEM, | 37 | .flags = IORESOURCE_MEM, |
38 | }, | 38 | }, |
39 | }; | 39 | }; |
diff --git a/arch/sh/boards/se/770x/setup.c b/arch/sh/boards/se/770x/setup.c index 5172f994a1be..d07a3368f546 100644 --- a/arch/sh/boards/se/770x/setup.c +++ b/arch/sh/boards/se/770x/setup.c | |||
@@ -99,7 +99,7 @@ static struct heartbeat_data heartbeat_data = { | |||
99 | static struct resource heartbeat_resources[] = { | 99 | static struct resource heartbeat_resources[] = { |
100 | [0] = { | 100 | [0] = { |
101 | .start = PA_LED, | 101 | .start = PA_LED, |
102 | .end = PA_LED + ARRAY_SIZE(heartbeat_bit_pos) - 1, | 102 | .end = PA_LED, |
103 | .flags = IORESOURCE_MEM, | 103 | .flags = IORESOURCE_MEM, |
104 | }, | 104 | }, |
105 | }; | 105 | }; |
@@ -108,7 +108,7 @@ static struct platform_device heartbeat_device = { | |||
108 | .name = "heartbeat", | 108 | .name = "heartbeat", |
109 | .id = -1, | 109 | .id = -1, |
110 | .dev = { | 110 | .dev = { |
111 | .platform_data = heartbeat_data, | 111 | .platform_data = &heartbeat_data, |
112 | }, | 112 | }, |
113 | .num_resources = ARRAY_SIZE(heartbeat_resources), | 113 | .num_resources = ARRAY_SIZE(heartbeat_resources), |
114 | .resource = heartbeat_resources, | 114 | .resource = heartbeat_resources, |
diff --git a/arch/sh/boards/se/7722/setup.c b/arch/sh/boards/se/7722/setup.c index 8f1c8a617bb5..03b63457e178 100644 --- a/arch/sh/boards/se/7722/setup.c +++ b/arch/sh/boards/se/7722/setup.c | |||
@@ -21,7 +21,7 @@ | |||
21 | static struct resource heartbeat_resources[] = { | 21 | static struct resource heartbeat_resources[] = { |
22 | [0] = { | 22 | [0] = { |
23 | .start = PA_LED, | 23 | .start = PA_LED, |
24 | .end = PA_LED + 8 - 1, | 24 | .end = PA_LED, |
25 | .flags = IORESOURCE_MEM, | 25 | .flags = IORESOURCE_MEM, |
26 | }, | 26 | }, |
27 | }; | 27 | }; |
diff --git a/arch/sh/boards/se/7751/setup.c b/arch/sh/boards/se/7751/setup.c index 5ed196827b0a..b007defc9945 100644 --- a/arch/sh/boards/se/7751/setup.c +++ b/arch/sh/boards/se/7751/setup.c | |||
@@ -25,7 +25,7 @@ static struct heartbeat_data heartbeat_data = { | |||
25 | static struct resource heartbeat_resources[] = { | 25 | static struct resource heartbeat_resources[] = { |
26 | [0] = { | 26 | [0] = { |
27 | .start = PA_LED, | 27 | .start = PA_LED, |
28 | .end = PA_LED + ARRAY_SIZE(heartbeat_bit_pos) - 1, | 28 | .end = PA_LED, |
29 | .flags = IORESOURCE_MEM, | 29 | .flags = IORESOURCE_MEM, |
30 | }, | 30 | }, |
31 | }; | 31 | }; |
@@ -34,7 +34,7 @@ static struct platform_device heartbeat_device = { | |||
34 | .name = "heartbeat", | 34 | .name = "heartbeat", |
35 | .id = -1, | 35 | .id = -1, |
36 | .dev = { | 36 | .dev = { |
37 | .platform_data = heartbeat_data, | 37 | .platform_data = &heartbeat_data, |
38 | }, | 38 | }, |
39 | .num_resources = ARRAY_SIZE(heartbeat_resources), | 39 | .num_resources = ARRAY_SIZE(heartbeat_resources), |
40 | .resource = heartbeat_resources, | 40 | .resource = heartbeat_resources, |
diff --git a/arch/sh/boards/se/7780/setup.c b/arch/sh/boards/se/7780/setup.c index 15c3ea4de920..76e53b26a808 100644 --- a/arch/sh/boards/se/7780/setup.c +++ b/arch/sh/boards/se/7780/setup.c | |||
@@ -19,7 +19,7 @@ | |||
19 | static struct resource heartbeat_resources[] = { | 19 | static struct resource heartbeat_resources[] = { |
20 | [0] = { | 20 | [0] = { |
21 | .start = PA_LED, | 21 | .start = PA_LED, |
22 | .end = PA_LED + 8 - 1, | 22 | .end = PA_LED, |
23 | .flags = IORESOURCE_MEM, | 23 | .flags = IORESOURCE_MEM, |
24 | }, | 24 | }, |
25 | }; | 25 | }; |
diff --git a/arch/sh/boards/sh03/setup.c b/arch/sh/boards/sh03/setup.c index df96312efd45..934ac4f1c48f 100644 --- a/arch/sh/boards/sh03/setup.c +++ b/arch/sh/boards/sh03/setup.c | |||
@@ -44,7 +44,7 @@ static void __init sh03_setup(char **cmdline_p) | |||
44 | static struct resource heartbeat_resources[] = { | 44 | static struct resource heartbeat_resources[] = { |
45 | [0] = { | 45 | [0] = { |
46 | .start = 0xa0800000, | 46 | .start = 0xa0800000, |
47 | .end = 0xa0800000 + 8 - 1, | 47 | .end = 0xa0800000, |
48 | .flags = IORESOURCE_MEM, | 48 | .flags = IORESOURCE_MEM, |
49 | }, | 49 | }, |
50 | }; | 50 | }; |