diff options
author | Håvard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-06-06 12:04:53 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-06-07 03:43:00 -0400 |
commit | 3c3796cc32b6e53653a5eb868dc959b8c2779db9 (patch) | |
tree | 2ff83e14ac5e4b0889f06ad76951972bd4c3db17 /arch | |
parent | d4f4c0aa8e36f69e46360b3d3569dc15d6099894 (diff) |
[MTD] [NAND] rename at91_nand -> atmel_nand: internal symbols
This is basically s/at91_nand/atmel_nand/g with some manual inspection.
Signed-off-by: Håvard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-at91/at91cap9_devices.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91rm9200_devices.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9260_devices.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9261_devices.c | 12 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9263_devices.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-at91/at91sam9rl_devices.c | 12 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-cam60.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-cap9adk.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-dk.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-kb9202.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-sam9-l9260.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-sam9260ek.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-sam9261ek.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-sam9263ek.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-at91/board-sam9rlek.c | 2 | ||||
-rwxr-xr-x | arch/arm/mach-at91/board-yl-9200.c | 2 |
16 files changed, 38 insertions, 38 deletions
diff --git a/arch/arm/mach-at91/at91cap9_devices.c b/arch/arm/mach-at91/at91cap9_devices.c index be526746e01e..fe5148e9f0cc 100644 --- a/arch/arm/mach-at91/at91cap9_devices.c +++ b/arch/arm/mach-at91/at91cap9_devices.c | |||
@@ -278,7 +278,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
278 | * -------------------------------------------------------------------- */ | 278 | * -------------------------------------------------------------------- */ |
279 | 279 | ||
280 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 280 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) |
281 | static struct at91_nand_data nand_data; | 281 | static struct atmel_nand_data nand_data; |
282 | 282 | ||
283 | #define NAND_BASE AT91_CHIPSELECT_3 | 283 | #define NAND_BASE AT91_CHIPSELECT_3 |
284 | 284 | ||
@@ -296,7 +296,7 @@ static struct resource nand_resources[] = { | |||
296 | }; | 296 | }; |
297 | 297 | ||
298 | static struct platform_device at91cap9_nand_device = { | 298 | static struct platform_device at91cap9_nand_device = { |
299 | .name = "at91_nand", | 299 | .name = "atmel_nand", |
300 | .id = -1, | 300 | .id = -1, |
301 | .dev = { | 301 | .dev = { |
302 | .platform_data = &nand_data, | 302 | .platform_data = &nand_data, |
@@ -305,7 +305,7 @@ static struct platform_device at91cap9_nand_device = { | |||
305 | .num_resources = ARRAY_SIZE(nand_resources), | 305 | .num_resources = ARRAY_SIZE(nand_resources), |
306 | }; | 306 | }; |
307 | 307 | ||
308 | void __init at91_add_device_nand(struct at91_nand_data *data) | 308 | void __init at91_add_device_nand(struct atmel_nand_data *data) |
309 | { | 309 | { |
310 | unsigned long csa, mode; | 310 | unsigned long csa, mode; |
311 | 311 | ||
@@ -346,7 +346,7 @@ void __init at91_add_device_nand(struct at91_nand_data *data) | |||
346 | platform_device_register(&at91cap9_nand_device); | 346 | platform_device_register(&at91cap9_nand_device); |
347 | } | 347 | } |
348 | #else | 348 | #else |
349 | void __init at91_add_device_nand(struct at91_nand_data *data) {} | 349 | void __init at91_add_device_nand(struct atmel_nand_data *data) {} |
350 | #endif | 350 | #endif |
351 | 351 | ||
352 | 352 | ||
diff --git a/arch/arm/mach-at91/at91rm9200_devices.c b/arch/arm/mach-at91/at91rm9200_devices.c index de19bee83f75..8ced9bc82099 100644 --- a/arch/arm/mach-at91/at91rm9200_devices.c +++ b/arch/arm/mach-at91/at91rm9200_devices.c | |||
@@ -369,7 +369,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
369 | * -------------------------------------------------------------------- */ | 369 | * -------------------------------------------------------------------- */ |
370 | 370 | ||
371 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 371 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) |
372 | static struct at91_nand_data nand_data; | 372 | static struct atmel_nand_data nand_data; |
373 | 373 | ||
374 | #define NAND_BASE AT91_CHIPSELECT_3 | 374 | #define NAND_BASE AT91_CHIPSELECT_3 |
375 | 375 | ||
@@ -382,7 +382,7 @@ static struct resource nand_resources[] = { | |||
382 | }; | 382 | }; |
383 | 383 | ||
384 | static struct platform_device at91rm9200_nand_device = { | 384 | static struct platform_device at91rm9200_nand_device = { |
385 | .name = "at91_nand", | 385 | .name = "atmel_nand", |
386 | .id = -1, | 386 | .id = -1, |
387 | .dev = { | 387 | .dev = { |
388 | .platform_data = &nand_data, | 388 | .platform_data = &nand_data, |
@@ -391,7 +391,7 @@ static struct platform_device at91rm9200_nand_device = { | |||
391 | .num_resources = ARRAY_SIZE(nand_resources), | 391 | .num_resources = ARRAY_SIZE(nand_resources), |
392 | }; | 392 | }; |
393 | 393 | ||
394 | void __init at91_add_device_nand(struct at91_nand_data *data) | 394 | void __init at91_add_device_nand(struct atmel_nand_data *data) |
395 | { | 395 | { |
396 | unsigned int csa; | 396 | unsigned int csa; |
397 | 397 | ||
@@ -429,7 +429,7 @@ void __init at91_add_device_nand(struct at91_nand_data *data) | |||
429 | platform_device_register(&at91rm9200_nand_device); | 429 | platform_device_register(&at91rm9200_nand_device); |
430 | } | 430 | } |
431 | #else | 431 | #else |
432 | void __init at91_add_device_nand(struct at91_nand_data *data) {} | 432 | void __init at91_add_device_nand(struct atmel_nand_data *data) {} |
433 | #endif | 433 | #endif |
434 | 434 | ||
435 | 435 | ||
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c index 393a32aefce5..3aa62b1151b8 100644 --- a/arch/arm/mach-at91/at91sam9260_devices.c +++ b/arch/arm/mach-at91/at91sam9260_devices.c | |||
@@ -283,7 +283,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
283 | * -------------------------------------------------------------------- */ | 283 | * -------------------------------------------------------------------- */ |
284 | 284 | ||
285 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 285 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) |
286 | static struct at91_nand_data nand_data; | 286 | static struct atmel_nand_data nand_data; |
287 | 287 | ||
288 | #define NAND_BASE AT91_CHIPSELECT_3 | 288 | #define NAND_BASE AT91_CHIPSELECT_3 |
289 | 289 | ||
@@ -301,7 +301,7 @@ static struct resource nand_resources[] = { | |||
301 | }; | 301 | }; |
302 | 302 | ||
303 | static struct platform_device at91sam9260_nand_device = { | 303 | static struct platform_device at91sam9260_nand_device = { |
304 | .name = "at91_nand", | 304 | .name = "atmel_nand", |
305 | .id = -1, | 305 | .id = -1, |
306 | .dev = { | 306 | .dev = { |
307 | .platform_data = &nand_data, | 307 | .platform_data = &nand_data, |
@@ -310,7 +310,7 @@ static struct platform_device at91sam9260_nand_device = { | |||
310 | .num_resources = ARRAY_SIZE(nand_resources), | 310 | .num_resources = ARRAY_SIZE(nand_resources), |
311 | }; | 311 | }; |
312 | 312 | ||
313 | void __init at91_add_device_nand(struct at91_nand_data *data) | 313 | void __init at91_add_device_nand(struct atmel_nand_data *data) |
314 | { | 314 | { |
315 | unsigned long csa, mode; | 315 | unsigned long csa, mode; |
316 | 316 | ||
@@ -351,7 +351,7 @@ void __init at91_add_device_nand(struct at91_nand_data *data) | |||
351 | platform_device_register(&at91sam9260_nand_device); | 351 | platform_device_register(&at91sam9260_nand_device); |
352 | } | 352 | } |
353 | #else | 353 | #else |
354 | void __init at91_add_device_nand(struct at91_nand_data *data) {} | 354 | void __init at91_add_device_nand(struct atmel_nand_data *data) {} |
355 | #endif | 355 | #endif |
356 | 356 | ||
357 | 357 | ||
diff --git a/arch/arm/mach-at91/at91sam9261_devices.c b/arch/arm/mach-at91/at91sam9261_devices.c index 728bb8f39441..6b9e423ec474 100644 --- a/arch/arm/mach-at91/at91sam9261_devices.c +++ b/arch/arm/mach-at91/at91sam9261_devices.c | |||
@@ -199,7 +199,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
199 | * -------------------------------------------------------------------- */ | 199 | * -------------------------------------------------------------------- */ |
200 | 200 | ||
201 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 201 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) |
202 | static struct at91_nand_data nand_data; | 202 | static struct atmel_nand_data nand_data; |
203 | 203 | ||
204 | #define NAND_BASE AT91_CHIPSELECT_3 | 204 | #define NAND_BASE AT91_CHIPSELECT_3 |
205 | 205 | ||
@@ -211,8 +211,8 @@ static struct resource nand_resources[] = { | |||
211 | } | 211 | } |
212 | }; | 212 | }; |
213 | 213 | ||
214 | static struct platform_device at91_nand_device = { | 214 | static struct platform_device atmel_nand_device = { |
215 | .name = "at91_nand", | 215 | .name = "atmel_nand", |
216 | .id = -1, | 216 | .id = -1, |
217 | .dev = { | 217 | .dev = { |
218 | .platform_data = &nand_data, | 218 | .platform_data = &nand_data, |
@@ -221,7 +221,7 @@ static struct platform_device at91_nand_device = { | |||
221 | .num_resources = ARRAY_SIZE(nand_resources), | 221 | .num_resources = ARRAY_SIZE(nand_resources), |
222 | }; | 222 | }; |
223 | 223 | ||
224 | void __init at91_add_device_nand(struct at91_nand_data *data) | 224 | void __init at91_add_device_nand(struct atmel_nand_data *data) |
225 | { | 225 | { |
226 | unsigned long csa, mode; | 226 | unsigned long csa, mode; |
227 | 227 | ||
@@ -262,11 +262,11 @@ void __init at91_add_device_nand(struct at91_nand_data *data) | |||
262 | at91_set_A_periph(AT91_PIN_PC1, 0); /* NANDWE */ | 262 | at91_set_A_periph(AT91_PIN_PC1, 0); /* NANDWE */ |
263 | 263 | ||
264 | nand_data = *data; | 264 | nand_data = *data; |
265 | platform_device_register(&at91_nand_device); | 265 | platform_device_register(&atmel_nand_device); |
266 | } | 266 | } |
267 | 267 | ||
268 | #else | 268 | #else |
269 | void __init at91_add_device_nand(struct at91_nand_data *data) {} | 269 | void __init at91_add_device_nand(struct atmel_nand_data *data) {} |
270 | #endif | 270 | #endif |
271 | 271 | ||
272 | 272 | ||
diff --git a/arch/arm/mach-at91/at91sam9263_devices.c b/arch/arm/mach-at91/at91sam9263_devices.c index 719667e25c98..f1dfbfe094a2 100644 --- a/arch/arm/mach-at91/at91sam9263_devices.c +++ b/arch/arm/mach-at91/at91sam9263_devices.c | |||
@@ -353,7 +353,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
353 | * -------------------------------------------------------------------- */ | 353 | * -------------------------------------------------------------------- */ |
354 | 354 | ||
355 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 355 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) |
356 | static struct at91_nand_data nand_data; | 356 | static struct atmel_nand_data nand_data; |
357 | 357 | ||
358 | #define NAND_BASE AT91_CHIPSELECT_3 | 358 | #define NAND_BASE AT91_CHIPSELECT_3 |
359 | 359 | ||
@@ -371,7 +371,7 @@ static struct resource nand_resources[] = { | |||
371 | }; | 371 | }; |
372 | 372 | ||
373 | static struct platform_device at91sam9263_nand_device = { | 373 | static struct platform_device at91sam9263_nand_device = { |
374 | .name = "at91_nand", | 374 | .name = "atmel_nand", |
375 | .id = -1, | 375 | .id = -1, |
376 | .dev = { | 376 | .dev = { |
377 | .platform_data = &nand_data, | 377 | .platform_data = &nand_data, |
@@ -380,7 +380,7 @@ static struct platform_device at91sam9263_nand_device = { | |||
380 | .num_resources = ARRAY_SIZE(nand_resources), | 380 | .num_resources = ARRAY_SIZE(nand_resources), |
381 | }; | 381 | }; |
382 | 382 | ||
383 | void __init at91_add_device_nand(struct at91_nand_data *data) | 383 | void __init at91_add_device_nand(struct atmel_nand_data *data) |
384 | { | 384 | { |
385 | unsigned long csa, mode; | 385 | unsigned long csa, mode; |
386 | 386 | ||
@@ -421,7 +421,7 @@ void __init at91_add_device_nand(struct at91_nand_data *data) | |||
421 | platform_device_register(&at91sam9263_nand_device); | 421 | platform_device_register(&at91sam9263_nand_device); |
422 | } | 422 | } |
423 | #else | 423 | #else |
424 | void __init at91_add_device_nand(struct at91_nand_data *data) {} | 424 | void __init at91_add_device_nand(struct atmel_nand_data *data) {} |
425 | #endif | 425 | #endif |
426 | 426 | ||
427 | 427 | ||
diff --git a/arch/arm/mach-at91/at91sam9rl_devices.c b/arch/arm/mach-at91/at91sam9rl_devices.c index 054689804e77..b21f33393269 100644 --- a/arch/arm/mach-at91/at91sam9rl_devices.c +++ b/arch/arm/mach-at91/at91sam9rl_devices.c | |||
@@ -100,7 +100,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
100 | * -------------------------------------------------------------------- */ | 100 | * -------------------------------------------------------------------- */ |
101 | 101 | ||
102 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 102 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) |
103 | static struct at91_nand_data nand_data; | 103 | static struct atmel_nand_data nand_data; |
104 | 104 | ||
105 | #define NAND_BASE AT91_CHIPSELECT_3 | 105 | #define NAND_BASE AT91_CHIPSELECT_3 |
106 | 106 | ||
@@ -117,8 +117,8 @@ static struct resource nand_resources[] = { | |||
117 | } | 117 | } |
118 | }; | 118 | }; |
119 | 119 | ||
120 | static struct platform_device at91_nand_device = { | 120 | static struct platform_device atmel_nand_device = { |
121 | .name = "at91_nand", | 121 | .name = "atmel_nand", |
122 | .id = -1, | 122 | .id = -1, |
123 | .dev = { | 123 | .dev = { |
124 | .platform_data = &nand_data, | 124 | .platform_data = &nand_data, |
@@ -127,7 +127,7 @@ static struct platform_device at91_nand_device = { | |||
127 | .num_resources = ARRAY_SIZE(nand_resources), | 127 | .num_resources = ARRAY_SIZE(nand_resources), |
128 | }; | 128 | }; |
129 | 129 | ||
130 | void __init at91_add_device_nand(struct at91_nand_data *data) | 130 | void __init at91_add_device_nand(struct atmel_nand_data *data) |
131 | { | 131 | { |
132 | unsigned long csa; | 132 | unsigned long csa; |
133 | 133 | ||
@@ -164,11 +164,11 @@ void __init at91_add_device_nand(struct at91_nand_data *data) | |||
164 | at91_set_A_periph(AT91_PIN_PB5, 0); /* NANDWE */ | 164 | at91_set_A_periph(AT91_PIN_PB5, 0); /* NANDWE */ |
165 | 165 | ||
166 | nand_data = *data; | 166 | nand_data = *data; |
167 | platform_device_register(&at91_nand_device); | 167 | platform_device_register(&atmel_nand_device); |
168 | } | 168 | } |
169 | 169 | ||
170 | #else | 170 | #else |
171 | void __init at91_add_device_nand(struct at91_nand_data *data) {} | 171 | void __init at91_add_device_nand(struct atmel_nand_data *data) {} |
172 | #endif | 172 | #endif |
173 | 173 | ||
174 | 174 | ||
diff --git a/arch/arm/mach-at91/board-cam60.c b/arch/arm/mach-at91/board-cam60.c index b22a1a004055..af2c33aff1a8 100644 --- a/arch/arm/mach-at91/board-cam60.c +++ b/arch/arm/mach-at91/board-cam60.c | |||
@@ -142,7 +142,7 @@ static struct mtd_partition * __init nand_partitions(int size, int *num_partitio | |||
142 | return cam60_nand_partition; | 142 | return cam60_nand_partition; |
143 | } | 143 | } |
144 | 144 | ||
145 | static struct at91_nand_data __initdata cam60_nand_data = { | 145 | static struct atmel_nand_data __initdata cam60_nand_data = { |
146 | .ale = 21, | 146 | .ale = 21, |
147 | .cle = 22, | 147 | .cle = 22, |
148 | // .det_pin = ... not there | 148 | // .det_pin = ... not there |
diff --git a/arch/arm/mach-at91/board-cap9adk.c b/arch/arm/mach-at91/board-cap9adk.c index e5512d1ff217..7144e1a89a2a 100644 --- a/arch/arm/mach-at91/board-cap9adk.c +++ b/arch/arm/mach-at91/board-cap9adk.c | |||
@@ -175,7 +175,7 @@ static struct mtd_partition * __init nand_partitions(int size, int *num_partitio | |||
175 | return cap9adk_nand_partitions; | 175 | return cap9adk_nand_partitions; |
176 | } | 176 | } |
177 | 177 | ||
178 | static struct at91_nand_data __initdata cap9adk_nand_data = { | 178 | static struct atmel_nand_data __initdata cap9adk_nand_data = { |
179 | .ale = 21, | 179 | .ale = 21, |
180 | .cle = 22, | 180 | .cle = 22, |
181 | // .det_pin = ... not connected | 181 | // .det_pin = ... not connected |
diff --git a/arch/arm/mach-at91/board-dk.c b/arch/arm/mach-at91/board-dk.c index c1a813c7169b..ffecacb71f89 100644 --- a/arch/arm/mach-at91/board-dk.c +++ b/arch/arm/mach-at91/board-dk.c | |||
@@ -150,7 +150,7 @@ static struct mtd_partition * __init nand_partitions(int size, int *num_partitio | |||
150 | return dk_nand_partition; | 150 | return dk_nand_partition; |
151 | } | 151 | } |
152 | 152 | ||
153 | static struct at91_nand_data __initdata dk_nand_data = { | 153 | static struct atmel_nand_data __initdata dk_nand_data = { |
154 | .ale = 22, | 154 | .ale = 22, |
155 | .cle = 21, | 155 | .cle = 21, |
156 | .det_pin = AT91_PIN_PB1, | 156 | .det_pin = AT91_PIN_PB1, |
diff --git a/arch/arm/mach-at91/board-kb9202.c b/arch/arm/mach-at91/board-kb9202.c index 4b39b9cda75b..153450f168f2 100644 --- a/arch/arm/mach-at91/board-kb9202.c +++ b/arch/arm/mach-at91/board-kb9202.c | |||
@@ -102,7 +102,7 @@ static struct mtd_partition * __init nand_partitions(int size, int *num_partitio | |||
102 | return kb9202_nand_partition; | 102 | return kb9202_nand_partition; |
103 | } | 103 | } |
104 | 104 | ||
105 | static struct at91_nand_data __initdata kb9202_nand_data = { | 105 | static struct atmel_nand_data __initdata kb9202_nand_data = { |
106 | .ale = 22, | 106 | .ale = 22, |
107 | .cle = 21, | 107 | .cle = 21, |
108 | // .det_pin = ... not there | 108 | // .det_pin = ... not there |
diff --git a/arch/arm/mach-at91/board-sam9-l9260.c b/arch/arm/mach-at91/board-sam9-l9260.c index 8f76af5e219a..57a6221943ed 100644 --- a/arch/arm/mach-at91/board-sam9-l9260.c +++ b/arch/arm/mach-at91/board-sam9-l9260.c | |||
@@ -141,7 +141,7 @@ static struct mtd_partition * __init nand_partitions(int size, int *num_partitio | |||
141 | return ek_nand_partition; | 141 | return ek_nand_partition; |
142 | } | 142 | } |
143 | 143 | ||
144 | static struct at91_nand_data __initdata ek_nand_data = { | 144 | static struct atmel_nand_data __initdata ek_nand_data = { |
145 | .ale = 21, | 145 | .ale = 21, |
146 | .cle = 22, | 146 | .cle = 22, |
147 | // .det_pin = ... not connected | 147 | // .det_pin = ... not connected |
diff --git a/arch/arm/mach-at91/board-sam9260ek.c b/arch/arm/mach-at91/board-sam9260ek.c index 4d1d9c777084..6a680795c3c8 100644 --- a/arch/arm/mach-at91/board-sam9260ek.c +++ b/arch/arm/mach-at91/board-sam9260ek.c | |||
@@ -178,7 +178,7 @@ static struct mtd_partition * __init nand_partitions(int size, int *num_partitio | |||
178 | return ek_nand_partition; | 178 | return ek_nand_partition; |
179 | } | 179 | } |
180 | 180 | ||
181 | static struct at91_nand_data __initdata ek_nand_data = { | 181 | static struct atmel_nand_data __initdata ek_nand_data = { |
182 | .ale = 21, | 182 | .ale = 21, |
183 | .cle = 22, | 183 | .cle = 22, |
184 | // .det_pin = ... not connected | 184 | // .det_pin = ... not connected |
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c index 08382c0df221..43dfbd0d543a 100644 --- a/arch/arm/mach-at91/board-sam9261ek.c +++ b/arch/arm/mach-at91/board-sam9261ek.c | |||
@@ -183,7 +183,7 @@ static struct mtd_partition * __init nand_partitions(int size, int *num_partitio | |||
183 | return ek_nand_partition; | 183 | return ek_nand_partition; |
184 | } | 184 | } |
185 | 185 | ||
186 | static struct at91_nand_data __initdata ek_nand_data = { | 186 | static struct atmel_nand_data __initdata ek_nand_data = { |
187 | .ale = 22, | 187 | .ale = 22, |
188 | .cle = 21, | 188 | .cle = 21, |
189 | // .det_pin = ... not connected | 189 | // .det_pin = ... not connected |
diff --git a/arch/arm/mach-at91/board-sam9263ek.c b/arch/arm/mach-at91/board-sam9263ek.c index b4cd5d0ed597..6605a0980117 100644 --- a/arch/arm/mach-at91/board-sam9263ek.c +++ b/arch/arm/mach-at91/board-sam9263ek.c | |||
@@ -187,7 +187,7 @@ static struct mtd_partition * __init nand_partitions(int size, int *num_partitio | |||
187 | return ek_nand_partition; | 187 | return ek_nand_partition; |
188 | } | 188 | } |
189 | 189 | ||
190 | static struct at91_nand_data __initdata ek_nand_data = { | 190 | static struct atmel_nand_data __initdata ek_nand_data = { |
191 | .ale = 21, | 191 | .ale = 21, |
192 | .cle = 22, | 192 | .cle = 22, |
193 | // .det_pin = ... not connected | 193 | // .det_pin = ... not connected |
diff --git a/arch/arm/mach-at91/board-sam9rlek.c b/arch/arm/mach-at91/board-sam9rlek.c index ffc0597aee8d..35e69e51f376 100644 --- a/arch/arm/mach-at91/board-sam9rlek.c +++ b/arch/arm/mach-at91/board-sam9rlek.c | |||
@@ -88,7 +88,7 @@ static struct mtd_partition * __init nand_partitions(int size, int *num_partitio | |||
88 | return ek_nand_partition; | 88 | return ek_nand_partition; |
89 | } | 89 | } |
90 | 90 | ||
91 | static struct at91_nand_data __initdata ek_nand_data = { | 91 | static struct atmel_nand_data __initdata ek_nand_data = { |
92 | .ale = 21, | 92 | .ale = 21, |
93 | .cle = 22, | 93 | .cle = 22, |
94 | // .det_pin = ... not connected | 94 | // .det_pin = ... not connected |
diff --git a/arch/arm/mach-at91/board-yl-9200.c b/arch/arm/mach-at91/board-yl-9200.c index b5717108991d..e642b3a8bd10 100755 --- a/arch/arm/mach-at91/board-yl-9200.c +++ b/arch/arm/mach-at91/board-yl-9200.c | |||
@@ -251,7 +251,7 @@ static struct mtd_partition * __init nand_partitions(int size, int *num_partitio | |||
251 | return yl_9200_nand_partition; | 251 | return yl_9200_nand_partition; |
252 | } | 252 | } |
253 | 253 | ||
254 | static struct at91_nand_data __initdata yl_9200_nand_data = { | 254 | static struct atmel_nand_data __initdata yl_9200_nand_data = { |
255 | .ale= 6, | 255 | .ale= 6, |
256 | .cle= 7, | 256 | .cle= 7, |
257 | /*.det_pin = AT91_PIN_PCxx,*/ /*we don't have a det pin because NandFlash is fixed to board*/ | 257 | /*.det_pin = AT91_PIN_PCxx,*/ /*we don't have a det pin because NandFlash is fixed to board*/ |