Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit fcdd7b7

Browse files
berolinuxgregkh
authored andcommitted
staging: vchiq_debugfs: Fix build if CONFIG_DEBUG_FS is not set
Commit 42a2f66 ("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: c3552ab ("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>
1 parent d941b58 commit fcdd7b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ void vchiq_debugfs_deinit(void)
138138

139139
#else /* CONFIG_DEBUG_FS */
140140

141-
void vchiq_debugfs_init(void)
141+
void vchiq_debugfs_init(struct vchiq_state *state)
142142
{
143143
}
144144

0 commit comments

Comments
 (0)