OSDN Git Service

drivers/video: fsl-diu-fb: the video buffer is not I/O memory
authorTimur Tabi <timur@freescale.com>
Thu, 15 Sep 2011 21:44:57 +0000 (16:44 -0500)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sun, 18 Sep 2011 20:08:58 +0000 (20:08 +0000)
The video buffer is not uncached memory-mapped I/O, so don't tag the virtual
address as __iomem.  It's also not a u8*.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
include/linux/fsl-diu-fb.h

index 5ebffa6..35ac0c5 100644 (file)
@@ -162,7 +162,7 @@ struct diu_hw {
 };
 
 struct diu_addr {
-       __u8 __iomem *vaddr;    /* Virtual address */
+       void *vaddr;            /* Virtual address */
        dma_addr_t paddr;       /* Physical address */
        __u32      offset;
 };