diff mbox series

[12/22] drm/of: make drm_of.h self-contained

Message ID e9b3ea30984b913f6e32ed35e0575438dff8278c.1709749576.git.jani.nikula@intel.com (mailing list archive)
State New, archived
Headers show
Series drm: fix headers, add header test facility | expand

Commit Message

Jani Nikula March 6, 2024, 6:31 p.m. UTC
Include <linux/err.h> for ERR_PTR.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 include/drm/drm_of.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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>