diff options
author | Inki Dae <inki.dae@samsung.com> | 2012-05-29 08:49:51 -0400 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2012-07-26 22:13:56 -0400 |
commit | f91f2f331e0d0c640677abbc1a4fa98222ab725a (patch) | |
tree | 014d641b16e2ee76e9daaccb9bd25caf3525b111 /drivers/gpu/drm/exynos | |
parent | d3b62dbfc7b9bb013926f56db79b60f6c18c392f (diff) |
drm/exynos: fixed build warning.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_vidi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c index 1d7d03084acf..bb1550c4dd57 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_vidi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_vidi.c | |||
@@ -598,7 +598,7 @@ int vidi_connection_ioctl(struct drm_device *drm_dev, void *data, | |||
598 | DRM_DEBUG_KMS("edid data is null.\n"); | 598 | DRM_DEBUG_KMS("edid data is null.\n"); |
599 | return -EINVAL; | 599 | return -EINVAL; |
600 | } | 600 | } |
601 | raw_edid = (struct edid *)vidi->edid; | 601 | raw_edid = (struct edid *)(uint32_t)vidi->edid; |
602 | edid_len = (1 + raw_edid->extensions) * EDID_LENGTH; | 602 | edid_len = (1 + raw_edid->extensions) * EDID_LENGTH; |
603 | ctx->raw_edid = kzalloc(edid_len, GFP_KERNEL); | 603 | ctx->raw_edid = kzalloc(edid_len, GFP_KERNEL); |
604 | if (!ctx->raw_edid) { | 604 | if (!ctx->raw_edid) { |