Commit fcdd7b7b authored by Bernhard Rosenkränzer's avatar Bernhard Rosenkränzer Committed by Greg Kroah-Hartman

staging: vchiq_debugfs: Fix build if CONFIG_DEBUG_FS is not set

Commit 42a2f666 ("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: c3552ab1 ("staging: vchiq_debugfs: Fix NPD in vchiq_dump_state")
Signed-off-by: default avatarBernhard Rosenkränzer <bero@baylibre.com>
Reviewed-by: default avatarStefan Wahren <wahrenst@gmx.net>
Link: https://lore.kernel.org/r/20240627124419.2498642-1-bero@baylibre.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d941b587
......@@ -138,7 +138,7 @@ void vchiq_debugfs_deinit(void)
#else /* CONFIG_DEBUG_FS */
void vchiq_debugfs_init(void)
void vchiq_debugfs_init(struct vchiq_state *state)
{
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment