diff options
Diffstat (limited to 'arch/arm/mach-at91/at91sam9260_devices.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9260_devices.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c index 5652dde4bbe..ad00fe91d37 100644 --- a/arch/arm/mach-at91/at91sam9260_devices.c +++ b/arch/arm/mach-at91/at91sam9260_devices.c | |||
@@ -1229,14 +1229,6 @@ void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins) | |||
1229 | at91_uarts[portnr] = pdev; | 1229 | at91_uarts[portnr] = pdev; |
1230 | } | 1230 | } |
1231 | 1231 | ||
1232 | void __init at91_set_serial_console(unsigned portnr) | ||
1233 | { | ||
1234 | if (portnr < ATMEL_MAX_UART) { | ||
1235 | atmel_default_console_device = at91_uarts[portnr]; | ||
1236 | at91sam9260_set_console_clock(at91_uarts[portnr]->id); | ||
1237 | } | ||
1238 | } | ||
1239 | |||
1240 | void __init at91_add_device_serial(void) | 1232 | void __init at91_add_device_serial(void) |
1241 | { | 1233 | { |
1242 | int i; | 1234 | int i; |
@@ -1245,13 +1237,9 @@ void __init at91_add_device_serial(void) | |||
1245 | if (at91_uarts[i]) | 1237 | if (at91_uarts[i]) |
1246 | platform_device_register(at91_uarts[i]); | 1238 | platform_device_register(at91_uarts[i]); |
1247 | } | 1239 | } |
1248 | |||
1249 | if (!atmel_default_console_device) | ||
1250 | printk(KERN_INFO "AT91: No default serial console defined.\n"); | ||
1251 | } | 1240 | } |
1252 | #else | 1241 | #else |
1253 | void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins) {} | 1242 | void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins) {} |
1254 | void __init at91_set_serial_console(unsigned portnr) {} | ||
1255 | void __init at91_add_device_serial(void) {} | 1243 | void __init at91_add_device_serial(void) {} |
1256 | #endif | 1244 | #endif |
1257 | 1245 | ||