drm/msm: fix msm_rd_dump_submit prototype
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 Nov 2017 11:21:32 +0000 (12:21 +0100)
committerRob Clark <robdclark@gmail.com>
Wed, 13 Dec 2017 16:01:20 +0000 (11:01 -0500)
commite6756d7c1a7ebe04def1b24b45ce01ef6c4175bc
tree22a7446abd735eb65154ae8362070e5178139abd
parent3a9016ba0e8f3cf4196eae99b5b18172c9b71045
drm/msm: fix msm_rd_dump_submit prototype

The prototype of msm_rd_dump_submit() has recently changed. However,
we have two declarations of this functions, and the other one
remains the old version, leading to this:

drivers/gpu/drm/msm/msm_gpu.c: In function 'recover_worker':
drivers/gpu/drm/msm/msm_gpu.c:295:23: error: passing argument 1 of 'msm_rd_dump_submit' from incompatible pointer type [-Werror=incompatible-pointer-types]

This changes the second one to match the first again.

Fixes: 2165e2b9cba2 ("drm/msm: split rd debugfs file")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_drv.h