summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos/exynos_drm_ipp.c
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2014-07-03 17:10:26 +0400
committerInki Dae <daeinki@gmail.com>2014-08-03 11:52:17 +0400
commit60b61c2f9e13cb1cfa995984d3a3dca1fdb6490d (patch)
tree19ac6ab70dfe1ccaab87d21da4e67b41654cb74f /drivers/gpu/drm/exynos/exynos_drm_ipp.c
parent6411fe3c2810cadc5e59ec79698406d54a94152c (diff)
downloadlinux-60b61c2f9e13cb1cfa995984d3a3dca1fdb6490d.tar.xz
drm/exynos/ipp: remove type casting
The patch replaces type casting with proper pointer. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_ipp.c')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_ipp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c b/drivers/gpu/drm/exynos/exynos_drm_ipp.c
index a1888e128f1d..f3f114cddaa0 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_ipp.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_ipp.c
@@ -432,7 +432,7 @@ static struct drm_exynos_ipp_event_work *ipp_create_event_work(void)
if (!event_work)
return ERR_PTR(-ENOMEM);
- INIT_WORK((struct work_struct *)event_work, ipp_sched_event);
+ INIT_WORK(&event_work->work, ipp_sched_event);
return event_work;
}