mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
drm: flip-work: change drm_flip_work_init prototype
Now that we're using lists instead of kfifo to store drm flip-work tasks we do not need the size parameter passed to drm_flip_work_init function anymore. Moreover this function cannot fail anymore, we can thus remove the return code. Modify drm_flip_work_init users to take account of these changes. [airlied: fixed two unused variable warnings] Signed-off-by: Boris BREZILLON <[email protected]> Reviewed-by: Rob Clark <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
This commit is contained in:
parent
8bd4ae2028
commit
d7f8db5300
6 changed files with 12 additions and 55 deletions
|
|
@ -85,7 +85,7 @@ void drm_flip_work_queue_task(struct drm_flip_work *work,
|
|||
void drm_flip_work_queue(struct drm_flip_work *work, void *val);
|
||||
void drm_flip_work_commit(struct drm_flip_work *work,
|
||||
struct workqueue_struct *wq);
|
||||
int drm_flip_work_init(struct drm_flip_work *work, int size,
|
||||
void drm_flip_work_init(struct drm_flip_work *work,
|
||||
const char *name, drm_flip_func_t func);
|
||||
void drm_flip_work_cleanup(struct drm_flip_work *work);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue