drm/sprd: fix build errors
[profile/mobile/platform/kernel/linux-3.10-sc7730.git] / drivers / gpu / drm / sprd / sprd_drm_drv.c
index 5c0c9bd..b51851f 100644 (file)
@@ -72,11 +72,11 @@ static int sprd_drm_gem_one_info(int id, void *ptr, void *data)
                                file_priv->tgid,
                                id,
                                atomic_read(&obj->refcount.refcount) - 1,
-                               atomic_read(&obj->handle_count),
+                               obj->handle_count,
                                sprd_gem->size,
                                sprd_gem->flags,
                                buf->pfnmap,
-                               obj->export_dma_buf ? 1 : 0,
+                               obj->dma_buf ? 1 : 0,
                                obj->import_attach ? 1 : 0,
                                obj,
                                obj->name);