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>
This commit is contained in:
parent
a00867b47a
commit
055efe5690
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#include <bootm.h>
|
#include <bootm.h>
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
|
#include <dm.h>
|
||||||
#include <init.h>
|
#include <init.h>
|
||||||
#include <log.h>
|
#include <log.h>
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#ifndef _THERMAL_H_
|
#ifndef _THERMAL_H_
|
||||||
#define _THERMAL_H_
|
#define _THERMAL_H_
|
||||||
|
|
||||||
#include <dm.h>
|
struct udevice;
|
||||||
|
|
||||||
int thermal_get_temp(struct udevice *dev, int *temp);
|
int thermal_get_temp(struct udevice *dev, int *temp);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user