Skip to content

Commit 24e30c9

Browse files
joseph-lo-nvtwStephen Warren
authored andcommitted
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>
1 parent 1395868 commit 24e30c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/arm/mach-tegra/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ obj-y += apbio.o
1010
obj-y += pm.o
1111
obj-y += reset.o
1212
obj-y += reset-handler.o
13+
obj-y += sleep.o
1314
obj-$(CONFIG_CPU_IDLE) += cpuidle.o
14-
obj-$(CONFIG_CPU_IDLE) += sleep.o
1515
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20_clocks.o
1616
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20_clocks_data.o
1717
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra20_speedo.o

0 commit comments

Comments
 (0)