From: Andrew Victor Date: Tue, 15 Apr 2008 20:16:38 +0000 (+0100) Subject: [ARM] 4982/1: [AT91] Drop old-style UART initialization (Part 1) X-Git-Tag: v2.6.26-rc1~1131^2~2^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=11aadac4f6adc032cfd1e41c348a7a568819ed94;p=karo-tx-linux.git [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 --- diff --git a/arch/arm/mach-at91/at91cap9_devices.c b/arch/arm/mach-at91/at91cap9_devices.c index 2eeaf5d5bbf3..f1a80d74a4b6 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