diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-03-06 20:31:10 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-03-07 17:17:25 +0200 |
commit | 9811a99cddbafcdde06d9a7f15f073fb452f23e7 (patch) | |
tree | 05deeac0d33d609770c1416c352d5e14bc4c9aea /include/drm/bridge | |
parent | eddb24a800ce89be9a01587f5572816213634ddc (diff) |
drm: bridge: samsung-dsim: make samsung-dsim.h self-contained
Include <drm/drm_bridge.h> and forward declare struct platform device.
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/9534ca7dfba96580950e116c84ce0fa68fdf93a4.1709749576.git.jani.nikula@intel.com
Diffstat (limited to 'include/drm/bridge')
-rw-r--r-- | include/drm/bridge/samsung-dsim.h | 4 |
1 files changed, 3 insertions, 1 deletions
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) |