diff options
Diffstat (limited to 'arch/arm/mach-at91/at91sam9263_devices.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9263_devices.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-at91/at91sam9263_devices.c b/arch/arm/mach-at91/at91sam9263_devices.c index fe99206de880..dfe5bc006d5e 100644 --- a/arch/arm/mach-at91/at91sam9263_devices.c +++ b/arch/arm/mach-at91/at91sam9263_devices.c | |||
@@ -1461,14 +1461,6 @@ void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins) | |||
1461 | at91_uarts[portnr] = pdev; | 1461 | at91_uarts[portnr] = pdev; |
1462 | } | 1462 | } |
1463 | 1463 | ||
1464 | void __init at91_set_serial_console(unsigned portnr) | ||
1465 | { | ||
1466 | if (portnr < ATMEL_MAX_UART) { | ||
1467 | atmel_default_console_device = at91_uarts[portnr]; | ||
1468 | at91sam9263_set_console_clock(at91_uarts[portnr]->id); | ||
1469 | } | ||
1470 | } | ||
1471 | |||
1472 | void __init at91_add_device_serial(void) | 1464 | void __init at91_add_device_serial(void) |
1473 | { | 1465 | { |
1474 | int i; | 1466 | int i; |
@@ -1477,13 +1469,9 @@ void __init at91_add_device_serial(void) | |||
1477 | if (at91_uarts[i]) | 1469 | if (at91_uarts[i]) |
1478 | platform_device_register(at91_uarts[i]); | 1470 | platform_device_register(at91_uarts[i]); |
1479 | } | 1471 | } |
1480 | |||
1481 | if (!atmel_default_console_device) | ||
1482 | printk(KERN_INFO "AT91: No default serial console defined.\n"); | ||
1483 | } | 1472 | } |
1484 | #else | 1473 | #else |
1485 | void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins) {} | 1474 | void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins) {} |
1486 | void __init at91_set_serial_console(unsigned portnr) {} | ||
1487 | void __init at91_add_device_serial(void) {} | 1475 | void __init at91_add_device_serial(void) {} |
1488 | #endif | 1476 | #endif |
1489 | 1477 | ||