]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit48a1fc426cb66a0b743ca105b948f5839444d1dd
tree22a7446abd735eb65154ae8362070e5178139abd
parent1ead5790a3715fa3f0130195b225db5c0f594e3b
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: 321c61514fde ("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