From 11aadac4f6adc032cfd1e41c348a7a568819ed94 Mon Sep 17 00:00:00 2001 From: Andrew Victor Date: Tue, 15 Apr 2008 21:16:38 +0100 Subject: [PATCH] [ARM] 4982/1: [AT91] Drop old-style UART initialization (Part 1) All the SAM9 boards supported by mainline and the AT91 patches have been converted to the new-style UART initialization. Therefore drop support for the old at91_init_serial() interface for SAM9. at91_uarts[] array can also be marked as __initdata. The warning that no serial-console is defined moved from at91_set_serial_console() to at91_add_device_serial() since the whole point is the board-specific file is not calling at91_set_serial_console(). Signed-off-by: Andrew Victor Signed-off-by: Russell King --- arch/arm/mach-at91/at91cap9_devices.c | 10 ++-- arch/arm/mach-at91/at91rm9200_devices.c | 7 +-- arch/arm/mach-at91/at91sam9260_devices.c | 63 ++---------------------- arch/arm/mach-at91/at91sam9261_devices.c | 48 ++---------------- arch/arm/mach-at91/at91sam9263_devices.c | 51 ++----------------- arch/arm/mach-at91/at91sam9rl_devices.c | 56 ++------------------- 6 files changed, 26 insertions(+), 209 deletions(-) diff --git a/arch/arm/mach-at91/at91cap9_devices.c b/arch/arm/mach-at91/at91cap9_devices.c index 2eeaf5d5bbf..f1a80d74a4b 100644 --- a/arch/arm/mach-at91/at91cap9_devices.c +++ b/arch/arm/mach-at91/at91cap9_devices.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include