summaryrefslogtreecommitdiff
path: root/drivers/video/s3c2410fb.h
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-06-16 15:34:34 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-16 19:47:59 -0700
commit0dac6ecdc056b83ac66e5b5c923fb73268f4332d (patch)
tree9d7841f2c5b1e7a49b485cfa670a9a3728a509c3 /drivers/video/s3c2410fb.h
parentddc518d9f88d7cf82bd974737ce977193785335d (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.h5
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 {
enum s3c_drv_type drv_type;
struct s3c2410fb_hw regs;
+ unsigned long clk_rate;
unsigned int palette_ready;
+#ifdef CONFIG_CPU_FREQ
+ struct notifier_block freq_transition;
+#endif
+
/* keep these registers in case we need to re-write palette */
u32 palette_buffer[256];
u32 pseudo_pal[16];