Skip to content

Commit

Permalink
ARM: ux500: cpuidle: Move ux500 cpuidle driver to drivers/cpuidle
Browse files Browse the repository at this point in the history
There is no more dependency with arch/arm headers, so we can safely move the
driver to the drivers/cpuidle directory.

Signed-off-by: Daniel Lezcano <[email protected]>
Acked-by: Linus Walleij <[email protected]>
  • Loading branch information
dlezcano committed Jul 27, 2013
1 parent 8457246 commit d3f2950
Showing 4 changed files with 9 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/arm/mach-ux500/Makefile
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@

obj-y := cpu.o devices.o devices-common.o \
id.o usb.o timer.o pm.o
obj-$(CONFIG_CPU_IDLE) += cpuidle.o
obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o
obj-$(CONFIG_UX500_SOC_DB8500) += cpu-db8500.o devices-db8500.o
obj-$(CONFIG_MACH_MOP500) += board-mop500.o board-mop500-sdi.o \
8 changes: 8 additions & 0 deletions drivers/cpuidle/Kconfig.arm
Original file line number Diff line number Diff line change
@@ -19,3 +19,11 @@ config ARM_ZYNQ_CPUIDLE
bool "CPU Idle Driver for Xilinx Zynq processors"
depends on ARCH_ZYNQ
help
Select this to enable cpuidle on Xilinx Zynq processors.

config ARM_U8500_CPUIDLE
bool "Cpu Idle Driver for the ST-E u8500 processors"
depends on ARCH_U8500
help
Select this to enable cpuidle for ST-E u8500 processors

1 change: 1 addition & 0 deletions drivers/cpuidle/Makefile
Original file line number Diff line number Diff line change
@@ -10,3 +10,4 @@ obj-$(CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED) += coupled.o
obj-$(CONFIG_ARM_HIGHBANK_CPUIDLE) += cpuidle-calxeda.o
obj-$(CONFIG_ARM_KIRKWOOD_CPUIDLE) += cpuidle-kirkwood.o
obj-$(CONFIG_ARM_ZYNQ_CPUIDLE) += cpuidle-zynq.o
obj-$(CONFIG_ARM_U8500_CPUIDLE) += cpuidle-ux500.o
File renamed without changes.

0 comments on commit d3f2950

Please sign in to comment.