aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass2022-08-11 19:35:01 -0600
committerTom Rini2022-09-16 11:05:16 -0400
commitec8bdc914c8328993cee62e01b4107b802cf45cc (patch)
treecce42cf3f4efee4ef239560c0a3c8eeb0ec47110 /cmd
parentef4b66bcd189e0db142e257cea1d225833cdc3b1 (diff)
blk: Drop if_type
Use the uclass ID instead. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/blk_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/blk_common.c b/cmd/blk_common.c
index 4e442f2918b..369c5ae4bbe 100644
--- a/cmd/blk_common.c
+++ b/cmd/blk_common.c
@@ -12,7 +12,7 @@
#include <blk.h>
#include <command.h>
-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);