]> git.baikalelectronics.ru Git - kernel.git/commit
arm/komeda: Compile komeda_debugfs_init() only if CONFIG_DEBUG_FS is enabled
authorLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 25 Mar 2019 16:31:44 +0000 (16:31 +0000)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 1 Apr 2019 19:21:53 +0000 (20:21 +0100)
commit2f1b5aa42c2c1a8c54f11adf55b6e4f2ef3a99cf
tree1292489aafa0bd0d211a66d68fd9ea00db375944
parent5299829cf91629d5108015363ac3dce3f98bb80b
arm/komeda: Compile komeda_debugfs_init() only if CONFIG_DEBUG_FS is enabled

We don't call this function if CONFIG_DEBUG_FS is not defined, but we
should not be compiling it either, as the declaration of the debugfs
core functions is not included.

Reported by the kbuild test robot.

Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/display/komeda/komeda_dev.c