i.MX Framebuffer: Use readl/writel instead of direct pointer deref
authorJuergen Beisert <j.beisert@pengutronix.de>
Tue, 16 Dec 2008 10:44:07 +0000 (11:44 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 16 Dec 2008 14:40:19 +0000 (15:40 +0100)
commit72330b0eeefc7abda35b5af55d0e2a9a3d05f04c
tree3ef28181ee934ccf41b614c98ce542a58baa89cd
parent74b114fe2cfff9986b2469b3eb0035ca3d325d00
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>
arch/arm/mach-imx/include/mach/imxfb.h
drivers/video/imxfb.c
drivers/video/imxfb.h