mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 13:58:41 +07:00
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>
This commit is contained in:
parent
6411fe3c28
commit
60b61c2f9e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user