summaryrefslogtreecommitdiff
path: root/cmd/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/host.c')
-rw-r--r--cmd/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/host.c b/cmd/host.c
index ff119da738..1d21f796ac 100644
--- a/cmd/host.c
+++ b/cmd/host.c
@@ -91,7 +91,7 @@ static int do_host_info(struct cmd_tbl *cmdtp, int flag, int argc,
struct host_block_dev *host_dev;
#ifdef CONFIG_BLK
- host_dev = dev_get_platdata(blk_dev->bdev);
+ host_dev = dev_get_plat(blk_dev->bdev);
#else
host_dev = blk_dev->priv;
#endif