summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2012-07-25 11:10:29 +0300
committerXavier Boudet <x-boudet@ti.com>2012-07-25 16:59:20 +0200
commit002bbef54de32d8b411edf354556639b893fbb7b (patch)
treedd3222e4c6cef44222ca91b05b521da83f2664a0
parent30a06f6622968458f28611eb7a9b0a3dde58a880 (diff)
ARM: OMAP: fix build without OMAP5
Fixes following build error if OMAP5 is not selected arch/arm/mach-omap2/built-in.o: In function `omap2_init_devices': /work/linux-tilt/arch/arm/mach-omap2/devices.c:1189: undefined reference to `omap_sata_init' Signed-off-by: Roger Quadros <rogerq@ti.com>
-rw-r--r--arch/arm/mach-omap2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index fdcec938207b..3604148b7530 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -323,7 +323,7 @@ obj-$(CONFIG_EMIF) += emif_omap.o
# Serial ATA support
s-ata-$(CONFIG_SATA_AHCI_PLATFORM) := sata.o
-obj-$(CONFIG_ARCH_OMAP5) += $(s-ata-m) $(s-ata-y)
+obj-y += $(s-ata-m) $(s-ata-y)
ifneq ($(CONFIG_OMAP_REMOTEPROC),)
obj-y += remoteproc.o