From: Andrzej Hajda Date: Thu, 3 Jul 2014 13:10:26 +0000 (+0200) Subject: drm/exynos/ipp: remove type casting X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=60b61c2f9e13cb1cfa995984d3a3dca1fdb6490d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/exynos/ipp: remove type casting The patch replaces type casting with proper pointer. Signed-off-by: Andrzej Hajda Signed-off-by: Inki Dae --- 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; }