diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/clock.h')
-rw-r--r-- | arch/arm/mach-s3c2410/clock.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2410/clock.h b/arch/arm/mach-s3c2410/clock.h index 01bb458bf8eb..9456c81eb5d3 100644 --- a/arch/arm/mach-s3c2410/clock.h +++ b/arch/arm/mach-s3c2410/clock.h | |||
@@ -22,6 +22,7 @@ struct clk { | |||
22 | 22 | ||
23 | int (*enable)(struct clk *, int enable); | 23 | int (*enable)(struct clk *, int enable); |
24 | int (*set_rate)(struct clk *c, unsigned long rate); | 24 | int (*set_rate)(struct clk *c, unsigned long rate); |
25 | unsigned long (*get_rate)(struct clk *c); | ||
25 | unsigned long (*round_rate)(struct clk *c, unsigned long rate); | 26 | unsigned long (*round_rate)(struct clk *c, unsigned long rate); |
26 | int (*set_parent)(struct clk *c, struct clk *parent); | 27 | int (*set_parent)(struct clk *c, struct clk *parent); |
27 | }; | 28 | }; |
@@ -36,6 +37,13 @@ extern struct clk s3c24xx_uclk; | |||
36 | 37 | ||
37 | extern struct clk clk_usb_bus; | 38 | extern struct clk clk_usb_bus; |
38 | 39 | ||
40 | /* core clock support */ | ||
41 | |||
42 | extern struct clk clk_f; | ||
43 | extern struct clk clk_h; | ||
44 | extern struct clk clk_p; | ||
45 | extern struct clk clk_upll; | ||
46 | |||
39 | /* exports for arch/arm/mach-s3c2410 | 47 | /* exports for arch/arm/mach-s3c2410 |
40 | * | 48 | * |
41 | * Please DO NOT use these outside of arch/arm/mach-s3c2410 | 49 | * Please DO NOT use these outside of arch/arm/mach-s3c2410 |
@@ -43,7 +51,8 @@ extern struct clk clk_usb_bus; | |||
43 | 51 | ||
44 | extern struct mutex clocks_mutex; | 52 | extern struct mutex clocks_mutex; |
45 | 53 | ||
46 | extern int s3c24xx_clkcon_enable(struct clk *clk, int enable); | 54 | extern int s3c2410_clkcon_enable(struct clk *clk, int enable); |
55 | |||
47 | extern int s3c24xx_register_clock(struct clk *clk); | 56 | extern int s3c24xx_register_clock(struct clk *clk); |
48 | 57 | ||
49 | extern int s3c24xx_setup_clocks(unsigned long xtal, | 58 | extern int s3c24xx_setup_clocks(unsigned long xtal, |