diff options
Diffstat (limited to 'include/dm/root.h')
-rw-r--r-- | include/dm/root.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dm/root.h b/include/dm/root.h index 0ebccda3557..3018bc8627a 100644 --- a/include/dm/root.h +++ b/include/dm/root.h @@ -10,7 +10,7 @@ #ifndef _DM_ROOT_H_ #define _DM_ROOT_H_ -struct device; +struct udevice; /** * dm_root() - Return pointer to the top of the driver tree @@ -19,7 +19,7 @@ struct device; * * @return pointer to root device, or NULL if not inited yet */ -struct device *dm_root(void); +struct udevice *dm_root(void); /** * dm_scan_platdata() - Scan all platform data and bind drivers |