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/arm/mach-at91/at91sam9260_devices.c | |
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/arm/mach-at91/at91sam9260_devices.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9260_devices.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 | ||