Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

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>

authored by

Joseph Lo and committed by
Stephen Warren
24e30c94 1395868c

+1 -1
+1 -1
arch/arm/mach-tegra/Makefile
··· 10 10 obj-y += pm.o 11 11 obj-y += reset.o 12 12 obj-y += reset-handler.o 13 + obj-y += sleep.o 13 14 obj-$(CONFIG_CPU_IDLE) += cpuidle.o 14 - obj-$(CONFIG_CPU_IDLE) += sleep.o 15 15 obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20_clocks.o 16 16 obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20_clocks_data.o 17 17 obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20_speedo.o