diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-02-12 08:52:57 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-03-01 08:18:18 +0100 |
commit | 5db08a7e487a8a8e4e667b63fa37fec14f185e64 (patch) | |
tree | ed451e93e3bd2021675e20e0855ddafa0d5ba110 /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
parent | drm/omap: acx565akm: use __be32 when reading status (diff) | |
download | linux-5db08a7e487a8a8e4e667b63fa37fec14f185e64.tar.xz linux-5db08a7e487a8a8e4e667b63fa37fec14f185e64.zip |
drm/omap: fbdev: use 'screen_buffer' field
Fix sparse warning:
drivers/gpu/drm/omapdrm/omap_fbdev.c:191:26: warning: incorrect type in assignment (different address spaces)
drivers/gpu/drm/omapdrm/omap_fbdev.c:191:26: expected char [noderef] <asn:2>*screen_base
drivers/gpu/drm/omapdrm/omap_fbdev.c:191:26: got void *
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_fbdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_fbdev.c b/drivers/gpu/drm/omapdrm/omap_fbdev.c index fb309d19ca1b..211ab0b865c9 100644 --- a/drivers/gpu/drm/omapdrm/omap_fbdev.c +++ b/drivers/gpu/drm/omapdrm/omap_fbdev.c @@ -188,7 +188,7 @@ static int omap_fbdev_create(struct drm_fb_helper *helper, dev->mode_config.fb_base = dma_addr; - fbi->screen_base = omap_gem_vaddr(fbdev->bo); + fbi->screen_buffer = omap_gem_vaddr(fbdev->bo); fbi->screen_size = fbdev->bo->size; fbi->fix.smem_start = dma_addr; fbi->fix.smem_len = fbdev->bo->size; |