aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-09-12 20:07:54 +0200
committerTom Rini <trini@ti.com>2012-10-15 11:53:50 -0700
commit5ae1de0d491f7558487f90870d3506c783fee755 (patch)
treeb2f52b3968c4900c059b5eb2ed2dc2b78663aa51 /arch
parentc513d7e5301c080a782f66d27bf6652655456336 (diff)
downloadu-boot-5ae1de0d491f7558487f90870d3506c783fee755.zip
u-boot-5ae1de0d491f7558487f90870d3506c783fee755.tar.gz
u-boot-5ae1de0d491f7558487f90870d3506c783fee755.tar.bz2
serial: bfin: Adjust serial_register_bfin_uart()
Rename the serial_register_bfin_uart() to bfin_initialize_serial() to be consistent with the rest of the naming. Next, remove it's prototype from serial.h and properly insert it into serial.c as the rest of the serial initialization functions. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com> Cc: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/blackfin/cpu/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/cpu/serial.c b/arch/blackfin/cpu/serial.c
index 33677ba..64340ec 100644
--- a/arch/blackfin/cpu/serial.c
+++ b/arch/blackfin/cpu/serial.c
@@ -272,7 +272,7 @@ __weak struct serial_device *default_serial_console(void)
#endif
}
-void serial_register_bfin_uart(void)
+void bfin_serial_initialize(void)
{
#ifdef UART0_DLL
serial_register(&bfin_serial0_device);