summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-19 19:15:41 +0300
committerTom Rini <trini@konsulko.com>2020-08-04 05:19:54 +0300
commit055efe5690eaab99301151878deab9a382c6e65e (patch)
treedff6ca5bbaf12243729eb20c430337fbbe1e5221 /include
parenta00867b47a4be848c400f74b97479193a41d327c (diff)
downloadu-boot-055efe5690eaab99301151878deab9a382c6e65e.tar.xz
thermal: Drop dm.h header file
This header file should not be included in other header files. Remove it and use a forward declaration instead. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/thermal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/thermal.h b/include/thermal.h
index 11d75256e0..52a3317fd5 100644
--- a/include/thermal.h
+++ b/include/thermal.h
@@ -7,7 +7,7 @@
#ifndef _THERMAL_H_
#define _THERMAL_H_
-#include <dm.h>
+struct udevice;
int thermal_get_temp(struct udevice *dev, int *temp);