diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-03-25 18:54:16 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-03-25 18:54:16 -0400 |
commit | 374da9da22ebaad0524c77905b5e89ae4619bef3 (patch) | |
tree | 78f8ebbbc2e730b8e510e3a68b5b73755196fb68 /arch/arm/mach-sa1100/assabet.c | |
parent | fbae0f8912dc12b284433c05417ea76311205bbf (diff) | |
parent | 81e6ca3eb74d6bdbab181dd2db378f49f76f0d97 (diff) |
Merge branch 'sa1111' into sa11x0
Conflicts:
arch/arm/common/sa1111.c
arch/arm/mach-sa1100/neponset.c
Fixed:
arch/arm/mach-sa1100/assabet.c
for the neponset changes
Diffstat (limited to 'arch/arm/mach-sa1100/assabet.c')
-rw-r--r-- | arch/arm/mach-sa1100/assabet.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c index f2030bc22cde..e2d411a8d4ce 100644 --- a/arch/arm/mach-sa1100/assabet.c +++ b/arch/arm/mach-sa1100/assabet.c | |||
@@ -425,21 +425,8 @@ static void __init assabet_map_io(void) | |||
425 | */ | 425 | */ |
426 | Ser1SDCR0 |= SDCR0_SUS; | 426 | Ser1SDCR0 |= SDCR0_SUS; |
427 | 427 | ||
428 | if (machine_has_neponset()) { | 428 | if (!machine_has_neponset()) |
429 | #ifdef CONFIG_ASSABET_NEPONSET | ||
430 | extern void neponset_map_io(void); | ||
431 | |||
432 | /* | ||
433 | * We map Neponset registers even if it isn't present since | ||
434 | * many drivers will try to probe their stuff (and fail). | ||
435 | * This is still more friendly than a kernel paging request | ||
436 | * crash. | ||
437 | */ | ||
438 | neponset_map_io(); | ||
439 | #endif | ||
440 | } else { | ||
441 | sa1100_register_uart_fns(&assabet_port_fns); | 429 | sa1100_register_uart_fns(&assabet_port_fns); |
442 | } | ||
443 | 430 | ||
444 | /* | 431 | /* |
445 | * When Neponset is attached, the first UART should be | 432 | * When Neponset is attached, the first UART should be |