summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2014-08-22 08:53:34 (GMT)
committerInki Dae <inki.dae@samsung.com>2014-10-15 11:05:19 (GMT)
commit0de4b8531df5f89092521e2aaec45c4ec6a66119 (patch)
tree5b0cf3843a9858ad9e9ddf012751ae2d2ede030a
parentec1e139fdbe68661a8f2e4205bf1d903a3ced3b2 (diff)
downloadlinux-3.10-0de4b8531df5f89092521e2aaec45c4ec6a66119.zip
linux-3.10-0de4b8531df5f89092521e2aaec45c4ec6a66119.tar.gz
linux-3.10-0de4b8531df5f89092521e2aaec45c4ec6a66119.tar.bz2
local: drm/exynos: fix dmabuf variable name
Change-Id: Ie106e49107d687d053259fa35f889374a8cc0924 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
-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 4dcb100..c15d81b 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 d1cff83..d9707ff 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,