ARM: 6483/1: arm & sh: factorised duplicated clkdev.c
authorJean-Christop PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 17 Nov 2010 09:04:33 +0000 (10:04 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 26 Nov 2010 10:51:04 +0000 (10:51 +0000)
commit6d803ba736abb5e122dede70a4720e4843dd6df4
tree6d01199e41ede3ae3931664f7bd10a68dbcc42e6
parent64d2dc384e41e2b7acead6804593ddaaf8aad8e1
ARM: 6483/1: arm & sh: factorised duplicated clkdev.c

factorise some generic infrastructure to assist looking up struct clks
for the ARM & SH architecture.

as the code is identical at 99%

put the arch specific code for allocation as example in asm/clkdev.h

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
73 files changed:
arch/arm/Kconfig
arch/arm/common/Kconfig
arch/arm/common/Makefile
arch/arm/common/clkdev.c [deleted file]
arch/arm/include/asm/clkdev.h
arch/arm/mach-bcmring/clock.c
arch/arm/mach-bcmring/core.c
arch/arm/mach-davinci/clock.h
arch/arm/mach-ep93xx/clock.c
arch/arm/mach-imx/clock-imx1.c
arch/arm/mach-imx/clock-imx21.c
arch/arm/mach-imx/clock-imx27.c
arch/arm/mach-integrator/core.c
arch/arm/mach-integrator/impd1.c
arch/arm/mach-integrator/integrator_cp.c
arch/arm/mach-lpc32xx/clock.c
arch/arm/mach-mmp/clock.h
arch/arm/mach-mx25/clock.c
arch/arm/mach-mx3/clock-imx31.c
arch/arm/mach-mx3/clock-imx35.c
arch/arm/mach-mx5/clock-mx51.c
arch/arm/mach-mxc91231/clock.c
arch/arm/mach-nomadik/clock.c
arch/arm/mach-nuc93x/clock.h
arch/arm/mach-omap1/clock.c
arch/arm/mach-omap2/dpll3xxx.c
arch/arm/mach-pnx4008/clock.c
arch/arm/mach-pxa/clock.c
arch/arm/mach-pxa/clock.h
arch/arm/mach-realview/core.c
arch/arm/mach-shmobile/Kconfig
arch/arm/mach-shmobile/clock-sh7367.c
arch/arm/mach-shmobile/clock-sh7372.c
arch/arm/mach-shmobile/clock-sh7377.c
arch/arm/mach-tcc8k/clock.c
arch/arm/mach-tegra/clock.c
arch/arm/mach-tegra/clock.h
arch/arm/mach-tegra/tegra2_clocks.c
arch/arm/mach-u300/clock.c
arch/arm/mach-ux500/clock.c
arch/arm/mach-versatile/core.c
arch/arm/mach-vexpress/ct-ca9x4.c
arch/arm/mach-vexpress/v2m.c
arch/arm/mach-w90x900/clock.h
arch/arm/plat-omap/Kconfig
arch/arm/plat-omap/include/plat/clkdev_omap.h
arch/arm/plat-spear/include/plat/clock.h
arch/arm/plat-stmp3xxx/clock.c
arch/sh/Kconfig
arch/sh/boards/mach-highlander/setup.c
arch/sh/include/asm/clkdev.h
arch/sh/kernel/Makefile
arch/sh/kernel/clkdev.c [deleted file]
arch/sh/kernel/cpu/clock-cpg.c
arch/sh/kernel/cpu/clock.c
arch/sh/kernel/cpu/sh4/clock-sh4-202.c
arch/sh/kernel/cpu/sh4a/clock-sh7343.c
arch/sh/kernel/cpu/sh4a/clock-sh7366.c
arch/sh/kernel/cpu/sh4a/clock-sh7722.c
arch/sh/kernel/cpu/sh4a/clock-sh7723.c
arch/sh/kernel/cpu/sh4a/clock-sh7724.c
arch/sh/kernel/cpu/sh4a/clock-sh7757.c
arch/sh/kernel/cpu/sh4a/clock-sh7763.c
arch/sh/kernel/cpu/sh4a/clock-sh7780.c
arch/sh/kernel/cpu/sh4a/clock-sh7785.c
arch/sh/kernel/cpu/sh4a/clock-sh7786.c
arch/sh/kernel/cpu/sh4a/clock-shx3.c
drivers/Kconfig
drivers/Makefile
drivers/clk/Kconfig [new file with mode: 0644]
drivers/clk/Makefile [new file with mode: 0644]
drivers/clk/clkdev.c [new file with mode: 0644]
include/linux/clkdev.h [new file with mode: 0644]