From: Jim Liu <jim.t90615@gmail.com>
Date: Tue, 13 Jun 2023 07:45:56 +0000 (+0800)
Subject: misc: nuvoton: fix type error
X-Git-Tag: v2025.01-rc5-pxa1908~941^2~16
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=a6ec14e8b1f281532e555d9c73236498aeb219f9;p=u-boot.git

misc: nuvoton: fix type error

Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
---

diff --git a/drivers/misc/npcm_otp.c b/drivers/misc/npcm_otp.c
index 304910888b..08029724c0 100644
--- a/drivers/misc/npcm_otp.c
+++ b/drivers/misc/npcm_otp.c
@@ -33,7 +33,7 @@ static int npcm_otp_check_inputs(u32 arr, u32 word)
 	if (arr >= NPCM_NUM_OF_SA) {
 		if (IS_ENABLED(CONFIG_ARCH_NPCM8XX))
 			printf("\nError: npcm8XX otp includs only one bank: 0\n");
-		if (IS_ENABLED(CONFIG_ARCH_NPCM7XX))
+		if (IS_ENABLED(CONFIG_ARCH_NPCM7xx))
 			printf("\nError: npcm7XX otp includs only two banks: 0 and 1\n");
 		return -1;
 	}