Skip to contentSkip to conversation

ARM: tegra: fix compile error when disable CPU_IDLE

PATCH New Joseph Lo 2 participants 2 messages Jan 25, 2013 – Jan 28, 2013

Subsystems (3)
lore
Share & tools
lore

Joseph Lo

author
#0 lore raw

PATCH 1/1 ARM: tegra: fix compile error when disable CPU_IDLE

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.

---
 arch/arm/mach-tegra/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/mach-tegra/Makefile +1 -2
index 432f2a5..200faf2 100644
@@ -6,10 +6,9 @@ obj-y					+= pmc.o
 obj-y					+= flowctrl.o
 obj-y					+= powergate.o
 obj-y					+= apbio.o
-obj-y					+= pm.o
+obj-y					+= pm.o sleep.o
 obj-y					+= reset.o reset-handler.o
 obj-$(CONFIG_CPU_IDLE)			+= cpuidle.o
-obj-$(CONFIG_CPU_IDLE)			+= sleep.o
 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)		+= tegra20_speedo.o
 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)		+= tegra2_emc.o
 obj-$(CONFIG_ARCH_TEGRA_2x_SOC)		+= sleep-tegra20.o
Signature · 1 line
1.8.0.3
#1 lore raw

PATCH 1/1 ARM: tegra: fix compile error when disable CPU_IDLE

Quoted 2 lines · Joseph Lo

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.

I've applied this to Tegra's for-3.9/cleanup branch.