[PATCH 2/3] qemu-malta: rename serial.c to init.c
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Mon Apr 30 08:00:06 EDT 2012
as the garbage collector will remove the empty function and the
add_ns16550_device is a empty inline if the driver is not enabled.
This will simplify add device adding.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
arch/mips/boards/qemu-malta/Makefile | 2 +-
arch/mips/boards/qemu-malta/{serial.c => init.c} | 0
2 files changed, 1 insertions(+), 1 deletions(-)
rename arch/mips/boards/qemu-malta/{serial.c => init.c} (100%)
diff --git a/arch/mips/boards/qemu-malta/Makefile b/arch/mips/boards/qemu-malta/Makefile
index ff1a655..eb072c0 100644
--- a/arch/mips/boards/qemu-malta/Makefile
+++ b/arch/mips/boards/qemu-malta/Makefile
@@ -1 +1 @@
-obj-$(CONFIG_DRIVER_SERIAL_NS16550) += serial.o
+obj-y += init.o
diff --git a/arch/mips/boards/qemu-malta/serial.c b/arch/mips/boards/qemu-malta/init.c
similarity index 100%
rename from arch/mips/boards/qemu-malta/serial.c
rename to arch/mips/boards/qemu-malta/init.c
--
1.7.9.1
More information about the barebox
mailing list