aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorJim Liu2023-06-13 15:45:56 +0800
committerTom Rini2023-07-14 12:52:18 -0400
commit923edd666feb6321587f259953a6c5bea40d1dfe (patch)
treed25a5df58a4ec32b14bd8a3fb1acfacefd6d7174 /drivers/misc
parentf4e086cdf1cc7e1e8c69e5d73eec2bda151ec9a1 (diff)
misc: nuvoton: fix type error
Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/npcm_otp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/npcm_otp.c b/drivers/misc/npcm_otp.c
index 304910888bb..08029724c04 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;
}