]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
misc: nuvoton: fix type error
authorJim Liu <jim.t90615@gmail.com>
Tue, 13 Jun 2023 07:45:56 +0000 (15:45 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jul 2023 16:52:18 +0000 (12:52 -0400)
Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
drivers/misc/npcm_otp.c

index 304910888bbc5a89ee0088ae841933c8651f1125..08029724c04097e3659077f9645c36641c4ce60b 100644 (file)
@@ -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;
        }