From: Marek Vasut Date: Mon, 17 Sep 2012 01:20:41 +0200 Subject: [U-Boot] [PATCH 16/71] serial: bfin: Remove the bfin_serialN_device exports from serial.h In-Reply-To: <1347837696-3192-1-git-send-email-marex@denx.de> References: <1347837696-3192-1-git-send-email-marex@denx.de> Message-ID: <1347837696-3192-17-git-send-email-marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- include/serial.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/serial.h b/include/serial.h index 6a42904..b405792 100644 --- a/include/serial.h +++ b/include/serial.h @@ -47,10 +47,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 *); -- 1.7.10.4