diff options
Diffstat (limited to 'arch/mips/ar7')
-rw-r--r-- | arch/mips/ar7/platform.c | 2 | ||||
-rw-r--r-- | arch/mips/ar7/setup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/ar7/platform.c b/arch/mips/ar7/platform.c index e5f6fca690e1..1a24d317e7a3 100644 --- a/arch/mips/ar7/platform.c +++ b/arch/mips/ar7/platform.c | |||
@@ -573,7 +573,7 @@ static int __init ar7_register_uarts(void) | |||
573 | 573 | ||
574 | bus_clk = clk_get(NULL, "bus"); | 574 | bus_clk = clk_get(NULL, "bus"); |
575 | if (IS_ERR(bus_clk)) | 575 | if (IS_ERR(bus_clk)) |
576 | panic("unable to get bus clk\n"); | 576 | panic("unable to get bus clk"); |
577 | 577 | ||
578 | uart_port.type = PORT_AR7; | 578 | uart_port.type = PORT_AR7; |
579 | uart_port.uartclk = clk_get_rate(bus_clk) / 2; | 579 | uart_port.uartclk = clk_get_rate(bus_clk) / 2; |
diff --git a/arch/mips/ar7/setup.c b/arch/mips/ar7/setup.c index f20b53e597c4..9a357fffcfbe 100644 --- a/arch/mips/ar7/setup.c +++ b/arch/mips/ar7/setup.c | |||
@@ -96,7 +96,7 @@ void __init plat_mem_setup(void) | |||
96 | 96 | ||
97 | io_base = (unsigned long)ioremap(AR7_REGS_BASE, 0x10000); | 97 | io_base = (unsigned long)ioremap(AR7_REGS_BASE, 0x10000); |
98 | if (!io_base) | 98 | if (!io_base) |
99 | panic("Can't remap IO base!\n"); | 99 | panic("Can't remap IO base!"); |
100 | set_io_port_base(io_base); | 100 | set_io_port_base(io_base); |
101 | 101 | ||
102 | prom_meminit(); | 102 | prom_meminit(); |