drm/exynos: fixed build warning.
authorInki Dae <inki.dae@samsung.com>
Tue, 29 May 2012 12:49:51 +0000 (21:49 +0900)
committerInki Dae <inki.dae@samsung.com>
Fri, 27 Jul 2012 02:13:56 +0000 (11:13 +0900)
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_vidi.c

index 1d7d030..bb1550c 100644 (file)
@@ -598,7 +598,7 @@ int vidi_connection_ioctl(struct drm_device *drm_dev, void *data,
                        DRM_DEBUG_KMS("edid data is null.\n");
                        return -EINVAL;
                }
-               raw_edid = (struct edid *)vidi->edid;
+               raw_edid = (struct edid *)(uint32_t)vidi->edid;
                edid_len = (1 + raw_edid->extensions) * EDID_LENGTH;
                ctx->raw_edid = kzalloc(edid_len, GFP_KERNEL);
                if (!ctx->raw_edid) {