From: Marek Vasut Date: Wed, 12 Sep 2012 18:05:13 +0000 (+0200) Subject: serial: bfin: Remove the bfin_serialN_device exports from serial.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c513d7e5301c080a782f66d27bf6652655456336;p=project%2Fbcm63xx%2Fu-boot.git serial: bfin: Remove the bfin_serialN_device exports from serial.h 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 Cc: Marek Vasut Cc: Tom Rini Cc: Mike Frysinger --- diff --git a/include/serial.h b/include/serial.h index b44fac2496..00efe68272 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 *);