[PATCH 05/22] drm: bridge: samsung-dsim: make samsung-dsim.h self-contained
Jani Nikula
jani.nikula at intel.com
Wed Mar 6 18:31:10 UTC 2024
Include <drm/drm_bridge.h> and forward declare struct platform device.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
include/drm/bridge/samsung-dsim.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/drm/bridge/samsung-dsim.h b/include/drm/bridge/samsung-dsim.h
index e0c105051246..9764d6eb5beb 100644
--- a/include/drm/bridge/samsung-dsim.h
+++ b/include/drm/bridge/samsung-dsim.h
@@ -11,9 +11,11 @@
#include <linux/regulator/consumer.h>
#include <drm/drm_atomic_helper.h>
-#include <drm/drm_of.h>
+#include <drm/drm_bridge.h>
#include <drm/drm_mipi_dsi.h>
+#include <drm/drm_of.h>
+struct platform_device;
struct samsung_dsim;
#define DSIM_STATE_ENABLED BIT(0)
--
2.39.2
More information about the Intel-gfx
mailing list