Skip to content

Commit 3819ad4

Browse files
committed
ARM: mmp: Remove legacy clk code
Remove all the legacy clk code that supports a non-common clk framework implementation of 'struct clk' in mach-mmp. This code doesn't look to be compiled anymore given that the MMP is fully supported in the multi-platform config via ARCH_MULTIPLATFORM as of commit 377524d ("ARM: mmp: move into ARCH_MULTIPLATFORM"). The ARCH_MULTIPLATFORM config selects COMMON_CLK and therefore the Makefile rule can never actually compile the code in these files. Cc: Lubomir Rintel <[email protected]> Cc: Russell King <[email protected]> Cc: <[email protected]> Cc: Arnd Bergmann <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Reviewed-by: Arnd Bergmann <[email protected]> [[email protected]: Squash in a clock.h include removal found by Stephen Rothwell <[email protected]>]
1 parent bbd7ffd commit 3819ad4

File tree

8 files changed

+0
-456
lines changed

8 files changed

+0
-456
lines changed

arch/arm/mach-mmp/Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ obj-$(CONFIG_CPU_PXA910) += pxa910.o
1212
obj-$(CONFIG_CPU_MMP2) += mmp2.o
1313
obj-$(CONFIG_MMP_SRAM) += sram.o
1414

15-
ifeq ($(CONFIG_COMMON_CLK), )
16-
obj-y += clock.o
17-
obj-$(CONFIG_CPU_PXA168) += clock-pxa168.o
18-
obj-$(CONFIG_CPU_PXA910) += clock-pxa910.o
19-
obj-$(CONFIG_CPU_MMP2) += clock-mmp2.o
20-
endif
2115
ifeq ($(CONFIG_PM),y)
2216
obj-$(CONFIG_CPU_PXA910) += pm-pxa910.o
2317
obj-$(CONFIG_CPU_MMP2) += pm-mmp2.o

arch/arm/mach-mmp/clock-mmp2.c

Lines changed: 0 additions & 114 deletions
This file was deleted.

arch/arm/mach-mmp/clock-pxa168.c

Lines changed: 0 additions & 94 deletions
This file was deleted.

arch/arm/mach-mmp/clock-pxa910.c

Lines changed: 0 additions & 70 deletions
This file was deleted.

arch/arm/mach-mmp/clock.c

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)