summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/Makefile
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2012-07-30 15:06:14 +0200
committerShawn Guo <shawn.guo@linaro.org>2012-08-04 22:52:23 +0800
commit6eec0152c4aa43636e180b21d5c71743f25d1220 (patch)
treeda812cc4fc08764c04d575db5565c8d8fc8fa9b6 /arch/arm/mach-mxs/Makefile
parent3bed491c8d28329e34f8a31e3fe64d03f3a350f1 (diff)
downloadlinux-6eec0152c4aa43636e180b21d5c71743f25d1220.tar.gz
linux-6eec0152c4aa43636e180b21d5c71743f25d1220.tar.bz2
linux-6eec0152c4aa43636e180b21d5c71743f25d1220.zip
ARM: mxs: always build ocotp
With this patch ocotp support will always be build into the kernel on mxs. Otherwise a DT-only kernel fails to link with: arch/arm/mach-mxs/mach-mxs.c:169: undefined reference to `mxs_get_ocotp' Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-mxs/Makefile')
-rw-r--r--arch/arm/mach-mxs/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-mxs/Makefile b/arch/arm/mach-mxs/Makefile
index e41590ccb437..fed3695a1339 100644
--- a/arch/arm/mach-mxs/Makefile
+++ b/arch/arm/mach-mxs/Makefile
@@ -1,7 +1,6 @@
# Common support
-obj-y := devices.o icoll.o iomux.o system.o timer.o mm.o
+obj-y := devices.o icoll.o iomux.o ocotp.o system.o timer.o mm.o
-obj-$(CONFIG_MXS_OCOTP) += ocotp.o
obj-$(CONFIG_PM) += pm.o
obj-$(CONFIG_MACH_MXS_DT) += mach-mxs.o