aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/samsung.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-10-21 09:06:36 -0400
committerBen Dooks <ben-linux@fluff.org>2008-12-15 16:46:05 -0500
commit305554768011707f33f437b96f999f812ba2a7e4 (patch)
tree1d27e3a796c91406549f6e4472dbe3cf07310a8b /drivers/serial/samsung.h
parente24b864ab3e1a5916c87e13cfdc94c1d02f0578b (diff)
[ARM] CPUFREQ: S3C24XX serial CPU frequency scaling support.
Add support for CPU frequency scalling to the S3C24XX serial driver. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/serial/samsung.h')
-rw-r--r--drivers/serial/samsung.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/serial/samsung.h b/drivers/serial/samsung.h
index 5c92ebbe7d9e..be263423205d 100644
--- a/drivers/serial/samsung.h
+++ b/drivers/serial/samsung.h
@@ -33,12 +33,18 @@ struct s3c24xx_uart_info {
33struct s3c24xx_uart_port { 33struct s3c24xx_uart_port {
34 unsigned char rx_claimed; 34 unsigned char rx_claimed;
35 unsigned char tx_claimed; 35 unsigned char tx_claimed;
36 unsigned int pm_level;
37 unsigned long baudclk_rate;
36 38
37 struct s3c24xx_uart_info *info; 39 struct s3c24xx_uart_info *info;
38 struct s3c24xx_uart_clksrc *clksrc; 40 struct s3c24xx_uart_clksrc *clksrc;
39 struct clk *clk; 41 struct clk *clk;
40 struct clk *baudclk; 42 struct clk *baudclk;
41 struct uart_port port; 43 struct uart_port port;
44
45#ifdef CONFIG_CPU_FREQ
46 struct notifier_block freq_transition;
47#endif
42}; 48};
43 49
44/* conversion functions */ 50/* conversion functions */