2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/arch/arm/mach-spear3xx
Kyungmin Park aa3831cf9d 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>
2011-07-19 18:09:45 +02:00
..
include/mach ARM: Consolidate the clkdev header files 2011-07-19 18:09:45 +02:00
clock.c ARM: 6927/1: SPEAr Clock: Update for single image solution 2011-05-20 22:32:42 +01:00
Kconfig ARM: 6931/1: SPEAr3xx: Rework KConfig to allow all boards to be compiled in 2011-05-20 22:34:25 +01:00
Makefile ARM: 6017/1: ST SPEAr: Added source files for SPEAr3xx machine family 2010-04-14 11:34:36 +01:00
Makefile.boot ARM: 6017/1: ST SPEAr: Added source files for SPEAr3xx machine family 2010-04-14 11:34:36 +01:00
spear3xx.c ARM: 6929/1: SPEAr3xx: Append spear3** with global device structures 2011-05-20 22:34:24 +01:00
spear300_evb.c ARM: 6929/1: SPEAr3xx: Append spear3** with global device structures 2011-05-20 22:34:24 +01:00
spear300.c ARM: 6929/1: SPEAr3xx: Append spear3** with global device structures 2011-05-20 22:34:24 +01:00
spear310_evb.c ARM: 6929/1: SPEAr3xx: Append spear3** with global device structures 2011-05-20 22:34:24 +01:00
spear310.c ARM: 6930/1: SPEAr3xx: Rework pmx_dev code to remove conflicts 2011-05-20 22:34:24 +01:00
spear320_evb.c ARM: 6929/1: SPEAr3xx: Append spear3** with global device structures 2011-05-20 22:34:24 +01:00
spear320.c ARM: 6930/1: SPEAr3xx: Rework pmx_dev code to remove conflicts 2011-05-20 22:34:24 +01:00