diff options
Diffstat (limited to 'cmd/virtio.c')
-rw-r--r-- | cmd/virtio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/virtio.c b/cmd/virtio.c index b7082bc63ad..3dace5344f7 100644 --- a/cmd/virtio.c +++ b/cmd/virtio.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <blk.h> #include <command.h> #include <dm.h> #include <virtio_types.h> @@ -12,7 +13,8 @@ static int virtio_curr_dev; -static int do_virtio(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +static int do_virtio(struct cmd_tbl *cmdtp, int flag, int argc, + char *const argv[]) { if (argc == 2 && !strcmp(argv[1], "scan")) { /* make sure all virtio devices are enumerated */ |