summaryrefslogtreecommitdiffstats
path: root/drivers/serial/samsung.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-10-21 15:06:36 +0200
committerBen Dooks <ben-linux@fluff.org>2008-12-15 22:46:05 +0100
commit305554768011707f33f437b96f999f812ba2a7e4 (patch)
tree1d27e3a796c91406549f6e4472dbe3cf07310a8b /drivers/serial/samsung.h
parent[ARM] S3C24XX: Split pll code out of regs-clock.h (diff)
downloadlinux-305554768011707f33f437b96f999f812ba2a7e4.tar.xz
linux-305554768011707f33f437b96f999f812ba2a7e4.zip
[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 {
struct s3c24xx_uart_port {
unsigned char rx_claimed;
unsigned char tx_claimed;
+ unsigned int pm_level;
+ unsigned long baudclk_rate;
struct s3c24xx_uart_info *info;
struct s3c24xx_uart_clksrc *clksrc;
struct clk *clk;
struct clk *baudclk;
struct uart_port port;
+
+#ifdef CONFIG_CPU_FREQ
+ struct notifier_block freq_transition;
+#endif
};
/* conversion functions */