projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: Drop init.h from common header
[oweals/u-boot.git]
/
cmd
/
host.c
diff --git
a/cmd/host.c
b/cmd/host.c
index f7d3eae5b1ad1313f0ee8032fe69ac2df556be65..eefc4f255ef2fcfe3b69f57cc4ce789ca033bd08 100644
(file)
--- a/
cmd/host.c
+++ b/
cmd/host.c
@@
-8,6
+8,7
@@
#include <fs.h>
#include <part.h>
#include <sandboxblockdev.h>
#include <fs.h>
#include <part.h>
#include <sandboxblockdev.h>
+#include <dm/device_compat.h>
#include <linux/errno.h>
static int host_curr_device = -1;
#include <linux/errno.h>
static int host_curr_device = -1;
@@
-89,7
+90,7
@@
static int do_host_info(cmd_tbl_t *cmdtp, int flag, int argc,
struct host_block_dev *host_dev;
#ifdef CONFIG_BLK
struct host_block_dev *host_dev;
#ifdef CONFIG_BLK
- host_dev = dev_get_p
riv
(blk_dev->bdev);
+ host_dev = dev_get_p
latdata
(blk_dev->bdev);
#else
host_dev = blk_dev->priv;
#endif
#else
host_dev = blk_dev->priv;
#endif