From 19b8fa0b61afbb46fc7429b9a2514e10b3297738 Mon Sep 17 00:00:00 2001
From: Marek Vasut <marex@denx.de>
Date: Sat, 29 Sep 2012 18:12:47 +0200
Subject: [PATCH] serial: ns16550: Rename serial.c to serial_ns16550.c

This serial driver had wrong name of the source file for some time
now. The name of the driver was serial.c instead of any more logical
and fitting name. Thus, rename the driver source file to serial_ns16550.c
and be done with it.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Tom Rini <trini@ti.com>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Michal Simek <monstr@monstr.eu>
---
 drivers/serial/Makefile                       | 2 +-
 drivers/serial/{serial.c => serial_ns16550.c} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename drivers/serial/{serial.c => serial_ns16550.c} (100%)

diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile
index dfc22a4b36..afaddeaa26 100644
--- a/drivers/serial/Makefile
+++ b/drivers/serial/Makefile
@@ -37,7 +37,7 @@ COBJS-$(CONFIG_SYS_NS16550) += ns16550.o
 COBJS-$(CONFIG_DRIVER_S3C4510_UART) += s3c4510b_uart.o
 COBJS-$(CONFIG_S3C64XX) += s3c64xx.o
 COBJS-$(CONFIG_S5P) += serial_s5p.o
-COBJS-$(CONFIG_SYS_NS16550_SERIAL) += serial.o
+COBJS-$(CONFIG_SYS_NS16550_SERIAL) += serial_ns16550.o
 COBJS-$(CONFIG_CLPS7111_SERIAL) += serial_clps7111.o
 COBJS-$(CONFIG_IMX_SERIAL) += serial_imx.o
 COBJS-$(CONFIG_IXP_SERIAL) += serial_ixp.o
diff --git a/drivers/serial/serial.c b/drivers/serial/serial_ns16550.c
similarity index 100%
rename from drivers/serial/serial.c
rename to drivers/serial/serial_ns16550.c
-- 
2.39.5