summaryrefslogtreecommitdiffstats
path: root/drivers/video/s3c2410fb.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-02-06 01:39:41 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 10:41:17 -0800
commitf62e770b25bdc24e18c9191fe2ca3e159036bd79 (patch)
tree9180909af9cc5af60147b7232a0b897b56a2ac45 /drivers/video/s3c2410fb.h
parent40488db20e3f43e65f10747f9026fba7d59d29a3 (diff)
downloadkernel-crypto-f62e770b25bdc24e18c9191fe2ca3e159036bd79.tar.gz
kernel-crypto-f62e770b25bdc24e18c9191fe2ca3e159036bd79.tar.xz
kernel-crypto-f62e770b25bdc24e18c9191fe2ca3e159036bd79.zip
FB/S3C2412: add S3C2412 support to S3C2410 fb driver
Add support for the S3C2412 to the S3C2410 frame buffer driver by ensuring that any moved registers can be dealt with. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Vincent Sanders <vince@simtec.co.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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/s3c2410fb.h b/drivers/video/s3c2410fb.h
index 6ce5dc26c5f..dbb73b95e2e 100644
--- a/drivers/video/s3c2410fb.h
+++ b/drivers/video/s3c2410fb.h
@@ -25,13 +25,20 @@
#ifndef __S3C2410FB_H
#define __S3C2410FB_H
+enum s3c_drv_type {
+ DRV_S3C2410,
+ DRV_S3C2412,
+};
+
struct s3c2410fb_info {
struct device *dev;
struct clk *clk;
struct resource *mem;
void __iomem *io;
+ void __iomem *irq_base;
+ enum s3c_drv_type drv_type;
struct s3c2410fb_hw regs;
unsigned int palette_ready;