diff options
author | wanzongshun <mcuos.com@gmail.com> | 2009-08-21 02:07:46 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-09-02 06:22:23 -0400 |
commit | 35c9221acb133ecc9abd701a1fb6fa909d177a77 (patch) | |
tree | e2a283112398450001410b5f3fa9a471c34738a7 /arch/arm/mach-w90x900/clock.h | |
parent | a8bc4eadd936bbad9e99b89fe692679451ad75c9 (diff) |
ARM: 5682/1: Add cpu.c and dev.c and modify some files of w90p910 platform
Add the cpu.c and dev.c and modify w90p910 platform
to apply to use the common API(provided by cpu.c and dev.c)
at the same time, I renamed all w90x900 to nuc900 in every
c file of w90x900 platform and touchscreen's driver name.
Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-w90x900/clock.h')
-rw-r--r-- | arch/arm/mach-w90x900/clock.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-w90x900/clock.h b/arch/arm/mach-w90x900/clock.h index d2f0e50a70bf..f5816a06eed6 100644 --- a/arch/arm/mach-w90x900/clock.h +++ b/arch/arm/mach-w90x900/clock.h | |||
@@ -12,8 +12,8 @@ | |||
12 | 12 | ||
13 | #include <asm/clkdev.h> | 13 | #include <asm/clkdev.h> |
14 | 14 | ||
15 | void w90x900_clk_enable(struct clk *clk, int enable); | 15 | void nuc900_clk_enable(struct clk *clk, int enable); |
16 | void w90x900_subclk_enable(struct clk *clk, int enable); | 16 | void nuc900_subclk_enable(struct clk *clk, int enable); |
17 | void clks_register(struct clk_lookup *clks, size_t num); | 17 | void clks_register(struct clk_lookup *clks, size_t num); |
18 | 18 | ||
19 | struct clk { | 19 | struct clk { |
@@ -24,13 +24,13 @@ struct clk { | |||
24 | 24 | ||
25 | #define DEFINE_CLK(_name, _ctrlbit) \ | 25 | #define DEFINE_CLK(_name, _ctrlbit) \ |
26 | struct clk clk_##_name = { \ | 26 | struct clk clk_##_name = { \ |
27 | .enable = w90x900_clk_enable, \ | 27 | .enable = nuc900_clk_enable, \ |
28 | .cken = (1 << _ctrlbit), \ | 28 | .cken = (1 << _ctrlbit), \ |
29 | } | 29 | } |
30 | 30 | ||
31 | #define DEFINE_SUBCLK(_name, _ctrlbit) \ | 31 | #define DEFINE_SUBCLK(_name, _ctrlbit) \ |
32 | struct clk clk_##_name = { \ | 32 | struct clk clk_##_name = { \ |
33 | .enable = w90x900_subclk_enable, \ | 33 | .enable = nuc900_subclk_enable, \ |
34 | .cken = (1 << _ctrlbit), \ | 34 | .cken = (1 << _ctrlbit), \ |
35 | } | 35 | } |
36 | 36 | ||