ARM: msm: Only compile io.c on platforms that use it
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 24 Jul 2013 20:54:34 +0000 (13:54 -0700)
committerDavid Brown <davidb@codeaurora.org>
Tue, 6 Aug 2013 18:18:04 +0000 (11:18 -0700)
commit3294a7e7c3a55bb4eb9d98b0af5643a7ea44afe1
treebb1d3cc666868c5b3aab6bcb6fefe29b331da097
parent0b559df5ce587cd2430bdc660c3e60d554d2c907
ARM: msm: Only compile io.c on platforms that use it

Only the non-dt based MSM platforms need to map memory from their
machine descriptor. Unfortunately it is always compiled if
ARCH_MSM=y and the file also has mach/ includes in it. Since
dt-based MSM platforms aren't actually using anything in this
file just compile io.c on the non-dt based MSM platforms. This
allows the dt-based platforms to participate in the
multi-platform kernel.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/Makefile