aboutsummaryrefslogtreecommitdiff
path: root/include/dm/root.h
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2014-06-02 11:20:28 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2014-06-02 11:20:28 +0530
commitd0fc6571e7c769847836aad3071a3b21a820eae5 (patch)
tree2c3f69540a367929200c47bf024ecc5ae2a17dbb /include/dm/root.h
parent3fa3bdcfdcb724087762c9dcf6b48e2525bbd6ff (diff)
parent90b51c33f362926e17d4c07dcef1ce822abaa89f (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'include/dm/root.h')
-rw-r--r--include/dm/root.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dm/root.h b/include/dm/root.h
index 0ebccda35..3018bc862 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