From: Russell King Date: Mon, 1 Sep 2008 21:07:37 +0000 (+0100) Subject: omap: Fix IO_ADDRESS() macros X-Git-Tag: v2.6.27-omap1~269 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c9b7493162677a728586a9e63e0fa81de39d461;p=pandora-kernel.git omap: Fix IO_ADDRESS() macros Modified version of Russell's patch 40c0133a904466ec5423d1088d3c85598ac9e030 to apply to linux-omap tree. OMAP1_IO_ADDRESS(), OMAP2_IO_ADDRESS() and IO_ADDRESS() returns cookies for use with __raw_{read|write}* for accessing registers. Therefore, these macros should return (void __iomem *) cookies, not integer values. Doing this improves typechecking, and means we can find those places where, eg, DMA controllers are incorrectly given virtual addresses to DMA to, or physical addresses are thrown through a virtual to physical address translation. Signed-off-by: Russell King --- Reading git-diff-tree failed