From ec8bdc914c8328993cee62e01b4107b802cf45cc Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 11 Aug 2022 19:35:01 -0600 Subject: blk: Drop if_type Use the uclass ID instead. Signed-off-by: Simon Glass Acked-by: Heinrich Schuchardt --- cmd/blk_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/blk_common.c b/cmd/blk_common.c index 4e442f2918..369c5ae4bb 100644 --- a/cmd/blk_common.c +++ b/cmd/blk_common.c @@ -12,7 +12,7 @@ #include #include -int blk_common_cmd(int argc, char *const argv[], enum if_type if_type, +int blk_common_cmd(int argc, char *const argv[], enum uclass_id if_type, int *cur_devnump) { const char *if_name = blk_get_if_type_name(if_type); -- cgit v1.2.3