summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-04-25 13:46:28 +0200
committerMichal Simek <michal.simek@xilinx.com>2014-05-06 13:47:42 +0200
commit870e0bda43c9ea18a5f2fae5e48905c3b44ea18b (patch)
treea96b14e98d0e4a684f26c73b609f84643832e6e2
parent6c4da359960bd15c1adbda2fc9639f2791f04e44 (diff)
downloadu-boot-imx-870e0bda43c9ea18a5f2fae5e48905c3b44ea18b.zip
u-boot-imx-870e0bda43c9ea18a5f2fae5e48905c3b44ea18b.tar.gz
u-boot-imx-870e0bda43c9ea18a5f2fae5e48905c3b44ea18b.tar.bz2
serial: zynq: Fix typo in suffix function name
's/zynq_serial_initalize/zynq_serial_initialize/g' serial_initialize is used by all serial drivers. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--drivers/serial/serial.c4
-rw-r--r--drivers/serial/serial_zynq.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c
index df05bde..c4fb59c 100644
--- a/drivers/serial/serial.c
+++ b/drivers/serial/serial.c
@@ -117,7 +117,7 @@ serial_initfunc(ns16550_serial_initialize);
serial_initfunc(pxa_serial_initialize);
serial_initfunc(s3c24xx_serial_initialize);
serial_initfunc(s5p_serial_initialize);
-serial_initfunc(zynq_serial_initalize);
+serial_initfunc(zynq_serial_initialize);
serial_initfunc(bfin_serial_initialize);
serial_initfunc(bfin_jtag_initialize);
serial_initfunc(mpc512x_serial_initialize);
@@ -214,7 +214,7 @@ void serial_initialize(void)
bfin_serial_initialize();
bfin_jtag_initialize();
uartlite_serial_initialize();
- zynq_serial_initalize();
+ zynq_serial_initialize();
au1x00_serial_initialize();
asc_serial_initialize();
jz_serial_initialize();
diff --git a/drivers/serial/serial_zynq.c b/drivers/serial/serial_zynq.c
index 3ce9a27..1ff27d5 100644
--- a/drivers/serial/serial_zynq.c
+++ b/drivers/serial/serial_zynq.c
@@ -223,7 +223,7 @@ __weak struct serial_device *default_serial_console(void)
}
#endif
-void zynq_serial_initalize(void)
+void zynq_serial_initialize(void)
{
serial_register(&uart_zynq_serial0_device);
serial_register(&uart_zynq_serial1_device);