diff options
author | 2024-11-08 01:18:06 +0530 | |
---|---|---|
committer | 2024-11-10 08:03:48 +0100 | |
commit | 73453164229ea3a27cd9d57b2886aeb07b775c6d (patch) | |
tree | baa8e3f012d889b4547f3225da5bd7bf03d8282a | |
parent | staging: vchiq_core: Rectify header include for vchiq_dump_state() (diff) | |
download | wireguard-linux-73453164229ea3a27cd9d57b2886aeb07b775c6d.tar.xz wireguard-linux-73453164229ea3a27cd9d57b2886aeb07b775c6d.zip |
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>
-rw-r--r-- | drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.h b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.h index fabffd81b1ec..b29e6693c949 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.h +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.h @@ -4,7 +4,8 @@ #ifndef VCHIQ_DEBUGFS_H #define VCHIQ_DEBUGFS_H -#include "vchiq_core.h" +struct vchiq_state; +struct vchiq_instance; struct vchiq_debugfs_node { struct dentry *dentry; |