Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b9a22794f2c186b5722eac94b6735e797d976027
Commit:     b9a22794f2c186b5722eac94b6735e797d976027
Parent:     e3cec00366e9d60ff65c6f6f8fffdfcadea01056
Author:     Grant Likely <[EMAIL PROTECTED]>
AuthorDate: Thu Oct 4 10:48:37 2007 -0600
Committer:  Grant Likely <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 09:14:34 2007 -0600

    [POWERPC] XilinxFB: sparse fixes
    
    Signed-off-by: Grant Likely <[EMAIL PROTECTED]>
---
 drivers/video/xilinxfb.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c
index e6e12be..dec602c 100644
--- a/drivers/video/xilinxfb.c
+++ b/drivers/video/xilinxfb.c
@@ -118,7 +118,7 @@ struct xilinxfb_drvdata {
        u32             regs_phys;      /* phys. address of the control 
registers */
        u32 __iomem     *regs;          /* virt. address of the control 
registers */
 
-       unsigned char __iomem   *fb_virt;       /* virt. address of the frame 
buffer */
+       void            *fb_virt;       /* virt. address of the frame buffer */
        dma_addr_t      fb_phys;        /* phys. address of the frame buffer */
 
        u32             reg_ctrl_default;
@@ -246,7 +246,7 @@ static int xilinxfb_assign(struct device *dev, unsigned 
long physaddr,
        }
 
        /* Clear (turn to black) the framebuffer */
-       memset_io(drvdata->fb_virt, 0, FB_SIZE);
+       memset_io((void __iomem *)drvdata->fb_virt, 0, FB_SIZE);
 
        /* Tell the hardware where the frame buffer is */
        xilinx_fb_out_be32(drvdata, REG_FB_ADDR, drvdata->fb_phys);
@@ -259,7 +259,7 @@ static int xilinxfb_assign(struct device *dev, unsigned 
long physaddr,
 
        /* Fill struct fb_info */
        drvdata->info.device = dev;
-       drvdata->info.screen_base = drvdata->fb_virt;
+       drvdata->info.screen_base = (void __iomem *)drvdata->fb_virt;
        drvdata->info.fbops = &xilinxfb_ops;
        drvdata->info.fix = xilinx_fb_fix;
        drvdata->info.fix.smem_start = drvdata->fb_phys;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to