aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/imxfb.h
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2008-12-16 05:44:07 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2008-12-16 09:40:19 -0500
commit72330b0eeefc7abda35b5af55d0e2a9a3d05f04c (patch)
tree3ef28181ee934ccf41b614c98ce542a58baa89cd /drivers/video/imxfb.h
parent74b114fe2cfff9986b2469b3eb0035ca3d325d00 (diff)
i.MX Framebuffer: Use readl/writel instead of direct pointer deref
This patch prepares the current i.MX1 framebuffer driver for usage in the whole i.MX family. It switches to readl/writel for register accesses. Also it moves the register definitions to the driver where they belong. Acked-by: Krzysztof Helt <krzysztof.h1@poczta.fm> Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/video/imxfb.h')
-rw-r--r--drivers/video/imxfb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/imxfb.h b/drivers/video/imxfb.h
index e837a8b48eb8..baa86a0fe29e 100644
--- a/drivers/video/imxfb.h
+++ b/drivers/video/imxfb.h
@@ -29,7 +29,8 @@ struct imxfb_rgb {
29#define NR_RGB 2 29#define NR_RGB 2
30 30
31struct imxfb_info { 31struct imxfb_info {
32 struct device *dev; 32 void __iomem *regs;
33
33 struct imxfb_rgb *rgb[NR_RGB]; 34 struct imxfb_rgb *rgb[NR_RGB];
34 35
35 u_int max_bpp; 36 u_int max_bpp;