summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ns9xxx/Makefile
diff options
context:
space:
mode:
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>2008-01-31 14:20:21 +0100
committerUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>2008-03-31 08:17:00 +0200
commit210b94e864de9d50ed08603a1ff0834603f309e0 (patch)
tree7743310b311efadfdfc257b64aecd90da3a9f253 /arch/arm/mach-ns9xxx/Makefile
parentLinux 2.6.25-rc7 (diff)
downloadlinux-210b94e864de9d50ed08603a1ff0834603f309e0.tar.xz
linux-210b94e864de9d50ed08603a1ff0834603f309e0.zip
ns9xxx: move registration of serial8250 to a dedicated file
Now the needed structs are allocated dynamically from __init code reducing memory usage if the kernel runs on a board different from a9m9750dev. Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Diffstat (limited to 'arch/arm/mach-ns9xxx/Makefile')
-rw-r--r--arch/arm/mach-ns9xxx/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-ns9xxx/Makefile b/arch/arm/mach-ns9xxx/Makefile
index 6fb82b855a55..ca2c68dede1d 100644
--- a/arch/arm/mach-ns9xxx/Makefile
+++ b/arch/arm/mach-ns9xxx/Makefile
@@ -5,3 +5,6 @@ obj-$(CONFIG_MACH_CC9P9360JS) += mach-cc9p9360js.o
obj-$(CONFIG_BOARD_A9M9750DEV) += board-a9m9750dev.o
obj-$(CONFIG_BOARD_JSCC9P9360) += board-jscc9p9360.o
+
+# platform devices
+obj-$(CONFIG_NS9XXX_HAVE_SERIAL8250) += plat-serial8250.o