exynos: fix two warnings

warning: assignment makes pointer from integer without a cast [enabled by default]
warning: initialization makes integer from pointer without a cast [enabled by default]

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Acked-by: Inki Dae <inki.dae@samsung.com>
main
Daniel Kurtz 2014-04-17 11:54:36 +08:00 committed by Rob Clark
parent 71bbf86f58
commit ebe21baec5
1 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,7 @@ void *exynos_bo_map(struct exynos_bo *bo)
return NULL;
}
bo->vaddr = req.mapped;
bo->vaddr = (void *)(uintptr_t)req.mapped;
}
return bo->vaddr;
@ -381,7 +381,7 @@ int exynos_vidi_connection(struct exynos_device *dev, uint32_t connect,
struct drm_exynos_vidi_connection req = {
.connection = connect,
.extensions = ext,
.edid = edid,
.edid = (uint64_t)(uintptr_t)edid,
};
int ret;