diff options
author | Chanho Park <chanho61.park@samsung.com> | 2014-08-22 17:53:34 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-21 19:13:44 +0900 |
commit | 2fc9531a488deb9dce86dd7259b46b603fe99d37 (patch) | |
tree | 8ec91f2b7649091883d0cafecf476f2fefc76cf7 /drivers/gpu/drm | |
parent | b43e581e741a22b6a2bd762febf4fe587a7d25da (diff) | |
download | linux-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.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_gem.c | 2 |
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, |