ARM: tegra: fix compile error when disable CPU_IDLE
authorJoseph Lo <josephl@nvidia.com>
Fri, 25 Jan 2013 06:38:32 +0000 (14:38 +0800)
committerStephen Warren <swarren@nvidia.com>
Mon, 28 Jan 2013 18:15:21 +0000 (11:15 -0700)
The "sleep.S" file has many functions that be shared by different module
currently. Not just for CPU idle driver. Make it build as default now.

Reported-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Joseph Lo <josephl@nvidia.com>
[swarren: add sleep.o to separate line so each line only contains 1 file]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/Makefile

index a839bb3d9703c71842330ebb2b615c72725fad16..f0520961bafe72f5757ae14e9f4070e544151373 100644 (file)
@@ -10,8 +10,8 @@ obj-y                                 += apbio.o
 obj-y                                  += pm.o
 obj-y                                  += reset.o
 obj-y                                  += reset-handler.o
+obj-y                                  += sleep.o
 obj-$(CONFIG_CPU_IDLE)                 += cpuidle.o
-obj-$(CONFIG_CPU_IDLE)                 += sleep.o
 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra20_clocks.o
 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)         += tegra20_clocks_data.o
 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)                += tegra20_speedo.o