staging: vchiq_debugfs: Fix build if CONFIG_DEBUG_FS is not set
authorBernhard Rosenkränzer <bero@baylibre.com>
Thu, 27 Jun 2024 12:44:19 +0000 (14:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jun 2024 13:47:30 +0000 (15:47 +0200)
commitfcdd7b7bda3c21d1ba1247419e4a1eb8e2d0bfbb
tree797c4f57826ecb0a97fe8a62998c5474534cbcc8
parentd941b5877a4eaef367ca48325c22d2e1bd8e8619
staging: vchiq_debugfs: Fix build if CONFIG_DEBUG_FS is not set

Commit 42a2f6664e18 ("staging: vc04_services: Move global g_state to
vchiq_state") adds a parameter to vchiq_debugfs_init, but leaves the
dummy implementation in the !CONFIG_DEBUG_FS case untouched, causing a
compile time error.

Fixes: c3552ab19aeb ("staging: vchiq_debugfs: Fix NPD in vchiq_dump_state")
Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com>
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://lore.kernel.org/r/20240627124419.2498642-1-bero@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c