[PATCH] thermal: imx_tmu: fix missing include

Tim Harvey tharvey at gateworks.com
Mon Oct 12 21:21:54 CEST 2020


commit c05ed00afb dropped linux/delay.h from common header

add linux/delay.h to avoid compile warning here

Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
 drivers/thermal/imx_tmu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/thermal/imx_tmu.c b/drivers/thermal/imx_tmu.c
index 4ca2208..936068c 100644
--- a/drivers/thermal/imx_tmu.c
+++ b/drivers/thermal/imx_tmu.c
@@ -14,6 +14,7 @@
 #include <dm/device.h>
 #include <errno.h>
 #include <fuse.h>
+#include <linux/delay.h>
 #include <malloc.h>
 #include <thermal.h>
 
-- 
2.7.4



More information about the U-Boot mailing list