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)
commit57683268189140d3a02c71bb39933a0faec39234
tree1292489aafa0bd0d211a66d68fd9ea00db375944
parent7d3cfb70a604d215e195ba9282df42dd6edff16a
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