diff --git a/include/drm/drm_panel.h b/include/drm/drm_panel.h
index 777814755fa62baff930d0f2cd46e0cec1525500..675aa1e876ce6f633cb55c910940fa54e40f2a90 100644
--- a/include/drm/drm_panel.h
+++ b/include/drm/drm_panel.h
@@ -24,6 +24,7 @@
 #ifndef __DRM_PANEL_H__
 #define __DRM_PANEL_H__
 
+#include <linux/err.h>
 #include <linux/errno.h>
 #include <linux/list.h>