summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-04-30 13:58:05 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-04-30 20:09:14 +0800
commitfcd65ca321e49278073f1df0e4ca9234fee523f0 (patch)
tree60987359cbaa6614505cdb75b8abee74b982380d /arch/mips
parent7136dab1f29781bfed72ae908d72483eaabc2dac (diff)
downloadbarebox-fcd65ca321e49278073f1df0e4ca9234fee523f0.tar.gz
barebox-fcd65ca321e49278073f1df0e4ca9234fee523f0.tar.xz
qemu-malta: rename serial.c to init.c
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@jcrosoft.com>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/boards/qemu-malta/Makefile2
-rw-r--r--arch/mips/boards/qemu-malta/init.c (renamed from arch/mips/boards/qemu-malta/serial.c)0
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/boards/qemu-malta/Makefile b/arch/mips/boards/qemu-malta/Makefile
index ff1a655afe..eb072c0161 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
index 502b3468bb..502b3468bb 100644
--- a/arch/mips/boards/qemu-malta/serial.c
+++ b/arch/mips/boards/qemu-malta/init.c