ARM: Consolidate the clkdev header files
authorKyungmin Park <kyungmin.park@samsung.com>
Mon, 18 Jul 2011 07:34:54 +0000 (16:34 +0900)
committerArnd Bergmann <arnd@arndb.de>
Tue, 19 Jul 2011 16:09:45 +0000 (18:09 +0200)
commitaa3831cf9d29cfeaebd8c2169378b74111364487
tree0aac34229bbc865b513f4f640dea0aa43d8e2d0f
parentfe0d42203cb5616eeff68b14576a0f7e2dd56625
ARM: Consolidate the clkdev header files

Now most of ARM machines has the alsmot same __clk_get/put() macro

So place it at the arch/arm/include/asm/clkdev.h and remove the reduntant header files

But some machines don't have the same form as above. It can use the machince specific clkdev file by HAVE_MACH_CLKDEV config

Now there are only 3 caese.

1) define the clk structure with clkdev macro => Need to move clk structure to proper header file

arch/arm/mach-versatile/include/mach/clkdev.h
arch/arm/mach-realview/include/mach/clkdev.h
arch/arm/mach-vexpress/include/mach/clkdev.h
arch/arm/mach-integrator/include/mach/clkdev.h

2) export the __clk_get/put function at clock.c

arch/arm/mach-shmobile/include/mach/clkdev.h

3) demuxing the clk source
arch/arm/mach-u300/include/mach/clkdev.h

Acked-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
26 files changed:
arch/arm/Kconfig
arch/arm/include/asm/clkdev.h
arch/arm/mach-at91/include/mach/clkdev.h [deleted file]
arch/arm/mach-bcmring/include/mach/clkdev.h [deleted file]
arch/arm/mach-davinci/include/mach/clkdev.h [deleted file]
arch/arm/mach-ep93xx/include/mach/clkdev.h [deleted file]
arch/arm/mach-lpc32xx/include/mach/clkdev.h [deleted file]
arch/arm/mach-mmp/include/mach/clkdev.h [deleted file]
arch/arm/mach-msm/include/mach/clkdev.h [deleted file]
arch/arm/mach-mxs/include/mach/clkdev.h [deleted file]
arch/arm/mach-nomadik/include/mach/clkdev.h [deleted file]
arch/arm/mach-nuc93x/include/mach/clkdev.h [deleted file]
arch/arm/mach-omap1/include/mach/clkdev.h [deleted file]
arch/arm/mach-omap2/include/mach/clkdev.h [deleted file]
arch/arm/mach-pnx4008/include/mach/clkdev.h [deleted file]
arch/arm/mach-pxa/include/mach/clkdev.h [deleted file]
arch/arm/mach-spear3xx/include/mach/clkdev.h [deleted file]
arch/arm/mach-spear6xx/include/mach/clkdev.h [deleted file]
arch/arm/mach-tegra/include/mach/clkdev.h [deleted file]
arch/arm/mach-ux500/include/mach/clkdev.h [deleted file]
arch/arm/mach-w90x900/include/mach/clkdev.h [deleted file]
arch/arm/plat-mxc/include/mach/clkdev.h [deleted file]
arch/arm/plat-omap/include/plat/clkdev.h [deleted file]
arch/arm/plat-spear/include/plat/clkdev.h [deleted file]
arch/arm/plat-tcc/include/mach/clkdev.h [deleted file]
drivers/clk/Kconfig