]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/dp: fix incorrect function prototype of dp_debug_get()
authorAbhinav Kumar <abhinavk@codeaurora.org>
Sat, 26 Sep 2020 02:55:12 +0000 (19:55 -0700)
committerRob Clark <robdclark@chromium.org>
Sat, 26 Sep 2020 03:31:06 +0000 (20:31 -0700)
commit333826b49c16f6fe6005897ac2b3c1a8d3c6bf55
treee425bdef0fce0c7deed20e38f5fa5fd4ad29423f
parentcbeb8942061fc37cef17694e37b68f9c997da99c
drm/msm/dp: fix incorrect function prototype of dp_debug_get()

Fix the incorrect function prototype for dp_debug_get()
in the dp_debug module to address compilation warning.
Also add prototype for msm_dp_debugfs_init() for fixing compilation
issue with other defconfigs.

changes in v2:
- add prototype for msm_dp_debugfs_init()

Fixes: 422edb94b2be ("drm/msm/dp: move debugfs node to /sys/kernel/debug/dri/*/")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/dp/dp_debug.h
drivers/gpu/drm/msm/msm_drv.h