summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2014-08-22 17:53:34 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-21 19:13:44 +0900
commit2fc9531a488deb9dce86dd7259b46b603fe99d37 (patch)
tree8ec91f2b7649091883d0cafecf476f2fefc76cf7 /drivers/gpu/drm
parentb43e581e741a22b6a2bd762febf4fe587a7d25da (diff)
downloadlinux-3.10-2fc9531a488deb9dce86dd7259b46b603fe99d37.tar.gz
linux-3.10-2fc9531a488deb9dce86dd7259b46b603fe99d37.tar.bz2
linux-3.10-2fc9531a488deb9dce86dd7259b46b603fe99d37.zip
local: drm/exynos: fix dmabuf variable name
Change-Id: Ie106e49107d687d053259fa35f889374a8cc0924 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_dmabuf.c4
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_gem.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c b/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c
index 4dcb1009644..c15d81bb201 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_dmabuf.c
@@ -170,8 +170,8 @@ static void exynos_dmabuf_release(struct dma_buf *dmabuf)
* to drop the references that these values had been increased
* at drm_prime_handle_to_fd()
*/
- if (exynos_gem_obj->base.export_dma_buf == dmabuf) {
- exynos_gem_obj->base.export_dma_buf = NULL;
+ if (exynos_gem_obj->base.dma_buf == dmabuf) {
+ exynos_gem_obj->base.dma_buf = NULL;
/*
* drop this gem object refcount to release allocated buffer
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.c b/drivers/gpu/drm/exynos/exynos_drm_gem.c
index d1cff837a15..d9707ff78ef 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_gem.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_gem.c
@@ -333,7 +333,7 @@ void *exynos_drm_gem_get_dmabuf(struct drm_device *dev,
drm_gem_object_unreference_unlocked(obj);
- return obj->export_dma_buf;
+ return obj->dma_buf;
}
int exynos_drm_gem_map_offset_ioctl(struct drm_device *dev, void *data,