summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_gem.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-12-04 23:45:44 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-05-29 18:56:09 -0400
commit93c76a3d437ff71fabe1d190a9f00e92cec7a621 (patch)
treeb3b942110bc12bc5fae743c1fe4e27eecc2c8e3d /drivers/gpu/drm/omapdrm/omap_gem.c
parentaffda48410a5bbfd516def60bbc97f2683cd9f7b (diff)
downloadlinux-93c76a3d437ff71fabe1d190a9f00e92cec7a621.tar.bz2
file_inode(f)->i_mapping is f->f_mapping
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_gem.c b/drivers/gpu/drm/omapdrm/omap_gem.c
index b97afc281778..dfb36f3c9c35 100644
--- a/drivers/gpu/drm/omapdrm/omap_gem.c
+++ b/drivers/gpu/drm/omapdrm/omap_gem.c
@@ -1406,7 +1406,7 @@ struct drm_gem_object *omap_gem_new(struct drm_device *dev,
if (ret)
goto err_free;
- mapping = file_inode(obj->filp)->i_mapping;
+ mapping = obj->filp->f_mapping;
mapping_set_gfp_mask(mapping, GFP_USER | __GFP_DMA32);
}