summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2024-11-08 01:18:06 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-10 08:03:48 +0100
commit73453164229ea3a27cd9d57b2886aeb07b775c6d (patch)
treebaa8e3f012d889b4547f3225da5bd7bf03d8282a
parent1ee792f6e956dc8e52e3360bab49a30cea581b3e (diff)
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.h3
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;