diff mbox

[U-Boot,16/70] serial: bfin: Remove the bfin_serialN_device exports from serial.h

Message ID 1348878687-14194-17-git-send-email-marex@denx.de
State Superseded
Delegated to: Marek Vasut
Headers show

Commit Message

Marek Vasut Sept. 29, 2012, 12:30 a.m. UTC
Remove the exports from serial.h as they are only used in the blackfin
serial driver. Furthermore, they are only used for registration, which
is handled already inside that driver and default_serial_port() call,
which is also handled in that driver.

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>
---
 include/serial.h |    4 ----
 1 file changed, 4 deletions(-)
diff mbox

Patch

diff --git a/include/serial.h b/include/serial.h
index b44fac2..00efe68 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -48,10 +48,6 @@  extern struct serial_device zoom2_serial_device3;
 
 #if defined(CONFIG_SYS_BFIN_UART)
 extern void serial_register_bfin_uart(void);
-extern struct serial_device bfin_serial0_device;
-extern struct serial_device bfin_serial1_device;
-extern struct serial_device bfin_serial2_device;
-extern struct serial_device bfin_serial3_device;
 #endif
 
 extern void serial_register(struct serial_device *);