diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-25 17:10:38 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-25 17:10:38 -0500 |
commit | 9f33be2c3a80bdc2cc08342dd77fac87652e0548 (patch) | |
tree | 7ad6e825427a15c5ec0fc15540abc0429d7f4bce /arch/arm/mach-w90x900 | |
parent | 2741ecb4ce5c2d430b5c44b0a169038338c21df5 (diff) | |
parent | eed18b5fa4d297c681b00144e8c6942dd35d39a7 (diff) |
Merge branches 'clks' and 'pnx' into devel
Diffstat (limited to 'arch/arm/mach-w90x900')
-rw-r--r-- | arch/arm/mach-w90x900/clock.c | 9 | ||||
-rw-r--r-- | arch/arm/mach-w90x900/clock.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-w90x900/cpu.c | 2 |
3 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm/mach-w90x900/clock.c b/arch/arm/mach-w90x900/clock.c index b785994bab0a..2c371ff22e51 100644 --- a/arch/arm/mach-w90x900/clock.c +++ b/arch/arm/mach-w90x900/clock.c | |||
@@ -90,12 +90,3 @@ void nuc900_subclk_enable(struct clk *clk, int enable) | |||
90 | 90 | ||
91 | __raw_writel(clken, W90X900_VA_CLKPWR + SUBCLK); | 91 | __raw_writel(clken, W90X900_VA_CLKPWR + SUBCLK); |
92 | } | 92 | } |
93 | |||
94 | |||
95 | void clks_register(struct clk_lookup *clks, size_t num) | ||
96 | { | ||
97 | int i; | ||
98 | |||
99 | for (i = 0; i < num; i++) | ||
100 | clkdev_add(&clks[i]); | ||
101 | } | ||
diff --git a/arch/arm/mach-w90x900/clock.h b/arch/arm/mach-w90x900/clock.h index f5816a06eed6..c56ddab3d912 100644 --- a/arch/arm/mach-w90x900/clock.h +++ b/arch/arm/mach-w90x900/clock.h | |||
@@ -14,7 +14,6 @@ | |||
14 | 14 | ||
15 | void nuc900_clk_enable(struct clk *clk, int enable); | 15 | void nuc900_clk_enable(struct clk *clk, int enable); |
16 | void nuc900_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); | ||
18 | 17 | ||
19 | struct clk { | 18 | struct clk { |
20 | unsigned long cken; | 19 | unsigned long cken; |
diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c index e44b0a0ecf4c..642207e18198 100644 --- a/arch/arm/mach-w90x900/cpu.c +++ b/arch/arm/mach-w90x900/cpu.c | |||
@@ -219,6 +219,6 @@ void __init nuc900_map_io(struct map_desc *mach_desc, int mach_size) | |||
219 | 219 | ||
220 | void __init nuc900_init_clocks(void) | 220 | void __init nuc900_init_clocks(void) |
221 | { | 221 | { |
222 | clks_register(nuc900_clkregs, ARRAY_SIZE(nuc900_clkregs)); | 222 | clkdev_add_table(nuc900_clkregs, ARRAY_SIZE(nuc900_clkregs)); |
223 | } | 223 | } |
224 | 224 | ||