diff options
Diffstat (limited to 'arch/arm/mach-at91/at91sam9rl_devices.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9rl_devices.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/at91sam9rl_devices.c b/arch/arm/mach-at91/at91sam9rl_devices.c index ae28101e7542..5f3094870cad 100644 --- a/arch/arm/mach-at91/at91sam9rl_devices.c +++ b/arch/arm/mach-at91/at91sam9rl_devices.c | |||
@@ -195,7 +195,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
195 | * -------------------------------------------------------------------- */ | 195 | * -------------------------------------------------------------------- */ |
196 | 196 | ||
197 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 197 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) |
198 | static struct at91_nand_data nand_data; | 198 | static struct atmel_nand_data nand_data; |
199 | 199 | ||
200 | #define NAND_BASE AT91_CHIPSELECT_3 | 200 | #define NAND_BASE AT91_CHIPSELECT_3 |
201 | 201 | ||
@@ -212,8 +212,8 @@ static struct resource nand_resources[] = { | |||
212 | } | 212 | } |
213 | }; | 213 | }; |
214 | 214 | ||
215 | static struct platform_device at91_nand_device = { | 215 | static struct platform_device atmel_nand_device = { |
216 | .name = "at91_nand", | 216 | .name = "atmel_nand", |
217 | .id = -1, | 217 | .id = -1, |
218 | .dev = { | 218 | .dev = { |
219 | .platform_data = &nand_data, | 219 | .platform_data = &nand_data, |
@@ -222,7 +222,7 @@ static struct platform_device at91_nand_device = { | |||
222 | .num_resources = ARRAY_SIZE(nand_resources), | 222 | .num_resources = ARRAY_SIZE(nand_resources), |
223 | }; | 223 | }; |
224 | 224 | ||
225 | void __init at91_add_device_nand(struct at91_nand_data *data) | 225 | void __init at91_add_device_nand(struct atmel_nand_data *data) |
226 | { | 226 | { |
227 | unsigned long csa; | 227 | unsigned long csa; |
228 | 228 | ||
@@ -259,11 +259,11 @@ void __init at91_add_device_nand(struct at91_nand_data *data) | |||
259 | at91_set_A_periph(AT91_PIN_PB5, 0); /* NANDWE */ | 259 | at91_set_A_periph(AT91_PIN_PB5, 0); /* NANDWE */ |
260 | 260 | ||
261 | nand_data = *data; | 261 | nand_data = *data; |
262 | platform_device_register(&at91_nand_device); | 262 | platform_device_register(&atmel_nand_device); |
263 | } | 263 | } |
264 | 264 | ||
265 | #else | 265 | #else |
266 | void __init at91_add_device_nand(struct at91_nand_data *data) {} | 266 | void __init at91_add_device_nand(struct atmel_nand_data *data) {} |
267 | #endif | 267 | #endif |
268 | 268 | ||
269 | 269 | ||