summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2024-03-06 20:31:17 +0200
committerJani Nikula <jani.nikula@intel.com>2024-03-07 17:17:25 +0200
commit08179fe18a67cf7909411705dc68c549b18fa574 (patch)
tree5fa2a1f007a67003c5a76356400dde8074198802 /include
parentd0589a3a6c36f3fbe1caa2300a8fd527aef6301a (diff)
drm/of: make drm_of.h self-contained
Include <linux/err.h> for ERR_PTR. Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/e9b3ea30984b913f6e32ed35e0575438dff8278c.1709749576.git.jani.nikula@intel.com
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_of.h1
1 files changed, 1 insertions, 0 deletions
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>