diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-06-16 18:34:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-16 22:47:59 -0400 |
commit | 0dac6ecdc056b83ac66e5b5c923fb73268f4332d (patch) | |
tree | 9d7841f2c5b1e7a49b485cfa670a9a3728a509c3 /drivers/video/s3c2410fb.h | |
parent | ddc518d9f88d7cf82bd974737ce977193785335d (diff) |
s3c-fb: CPUFREQ frequency scaling support
Add support for CPU frequency scaling in the S3C24XX video driver.
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Cc: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/s3c2410fb.h')
-rw-r--r-- | drivers/video/s3c2410fb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/s3c2410fb.h b/drivers/video/s3c2410fb.h index 9a6ba3e9d1b8..47a17bd23011 100644 --- a/drivers/video/s3c2410fb.h +++ b/drivers/video/s3c2410fb.h | |||
@@ -29,8 +29,13 @@ struct s3c2410fb_info { | |||
29 | enum s3c_drv_type drv_type; | 29 | enum s3c_drv_type drv_type; |
30 | struct s3c2410fb_hw regs; | 30 | struct s3c2410fb_hw regs; |
31 | 31 | ||
32 | unsigned long clk_rate; | ||
32 | unsigned int palette_ready; | 33 | unsigned int palette_ready; |
33 | 34 | ||
35 | #ifdef CONFIG_CPU_FREQ | ||
36 | struct notifier_block freq_transition; | ||
37 | #endif | ||
38 | |||
34 | /* keep these registers in case we need to re-write palette */ | 39 | /* keep these registers in case we need to re-write palette */ |
35 | u32 palette_buffer[256]; | 40 | u32 palette_buffer[256]; |
36 | u32 pseudo_pal[16]; | 41 | u32 pseudo_pal[16]; |