summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/fastboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fastboot.c b/cmd/fastboot.c
index 17c53bbe27..97dc02ce74 100644
--- a/cmd/fastboot.c
+++ b/cmd/fastboot.c
@@ -44,7 +44,7 @@ static int do_fastboot_usb(int argc, char *const argv[],
char *endp;
int ret;
- if (!CONFIG_IS_ENABLED(USB_FUNCTION_FASTBOOT)) {
+ if (!IS_ENABLED(CONFIG_USB_FUNCTION_FASTBOOT)) {
pr_err("Fastboot USB not enabled\n");
return CMD_RET_FAILURE;
}