Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: vchiq_debugfs: Use forward declarations

Use forward declarations for struct vchiq_state and vchiq_instance.
We can then drop the vchiq_core.h header from vchiq_debugfs.h.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Link: https://lore.kernel.org/r/20241107194806.90408-4-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Umang Jain and committed by
Greg Kroah-Hartman
73453164 1ee792f6

+2 -1
+2 -1
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.h
··· 4 4 #ifndef VCHIQ_DEBUGFS_H 5 5 #define VCHIQ_DEBUGFS_H 6 6 7 - #include "vchiq_core.h" 7 + struct vchiq_state; 8 + struct vchiq_instance; 8 9 9 10 struct vchiq_debugfs_node { 10 11 struct dentry *dentry;