[PATCH 12/22] drm/of: make drm_of.h self-contained
Jani Nikula
jani.nikula at intel.com
Wed Mar 6 18:31:17 UTC 2024
Include <linux/err.h> for ERR_PTR.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
include/drm/drm_of.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/drm/drm_of.h b/include/drm/drm_of.h
index 082a6e980d01..02d1cdd7f798 100644
--- a/include/drm/drm_of.h
+++ b/include/drm/drm_of.h
@@ -2,6 +2,7 @@
#ifndef __DRM_OF_H__
#define __DRM_OF_H__
+#include <linux/err.h>
#include <linux/of_graph.h>
#if IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_DRM_PANEL_BRIDGE)
#include <drm/drm_bridge.h>
--
2.39.2
More information about the dri-devel
mailing list