File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -73,21 +73,6 @@ struct clk_ops clk_ops1 = {
73
73
#endif /* MCFPM_PPMCR1 */
74
74
#endif /* MCFPM_PPMCR0 */
75
75
76
- static void __clk_enable2 (struct clk * clk )
77
- {
78
- __raw_writel (__raw_readl (MCFSDHC_CLK ) | (1 << clk -> slot ), MCFSDHC_CLK );
79
- }
80
-
81
- static void __clk_disable2 (struct clk * clk )
82
- {
83
- __raw_writel (__raw_readl (MCFSDHC_CLK ) & ~(1 << clk -> slot ), MCFSDHC_CLK );
84
- }
85
-
86
- struct clk_ops clk_ops2 = {
87
- .enable = __clk_enable2 ,
88
- .disable = __clk_disable2 ,
89
- };
90
-
91
76
struct clk * clk_get (struct device * dev , const char * id )
92
77
{
93
78
const char * clk_name = dev ? dev_name (dev ) : id ? id : NULL ;
Original file line number Diff line number Diff line change @@ -204,6 +204,21 @@ static struct clk * const disable_clks[] __initconst = {
204
204
& __clk_1_29 , /* uart 9 */
205
205
};
206
206
207
+ static void __clk_enable2 (struct clk * clk )
208
+ {
209
+ __raw_writel (__raw_readl (MCFSDHC_CLK ) | (1 << clk -> slot ), MCFSDHC_CLK );
210
+ }
211
+
212
+ static void __clk_disable2 (struct clk * clk )
213
+ {
214
+ __raw_writel (__raw_readl (MCFSDHC_CLK ) & ~(1 << clk -> slot ), MCFSDHC_CLK );
215
+ }
216
+
217
+ struct clk_ops clk_ops2 = {
218
+ .enable = __clk_enable2 ,
219
+ .disable = __clk_disable2 ,
220
+ };
221
+
207
222
static void __init m5441x_clk_init (void )
208
223
{
209
224
unsigned i ;
You can’t perform that action at this time.
0 commit comments