diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-10-21 14:06:36 +0100 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-12-15 21:46:05 +0000 |
commit | 305554768011707f33f437b96f999f812ba2a7e4 (patch) | |
tree | 1d27e3a796c91406549f6e4472dbe3cf07310a8b /drivers/serial/samsung.h | |
parent | e24b864ab3e1a5916c87e13cfdc94c1d02f0578b (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.h | 6 |
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 */ |