gma500: vram_addr should be __iomem
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:

committed by
Dave Airlie

parent
846a6038d6
commit
37214ca00e
@@ -455,8 +455,7 @@ static int psbfb_create(struct psb_fbdev *fbdev,
|
||||
info->fix.ypanstep = 0;
|
||||
|
||||
/* Accessed stolen memory directly */
|
||||
info->screen_base = (char *)dev_priv->vram_addr +
|
||||
backing->offset;
|
||||
info->screen_base = dev_priv->vram_addr + backing->offset;
|
||||
info->screen_size = size;
|
||||
|
||||
if (dev_priv->gtt.stolen_size) {
|
||||
|
Reference in New Issue
Block a user