summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorJim Liu <[email protected]>2023-06-13 15:45:56 +0800
committerTom Rini <[email protected]>2023-07-14 15:21:07 -0400
commita6ec14e8b1f281532e555d9c73236498aeb219f9 (patch)
tree58a77c40ad3f9a78c5524710034ac2fa9b856a3d /drivers/misc
parent7870043c4bfb51269df8d01203e6daecbd329366 (diff)
misc: nuvoton: fix type error
Signed-off-by: Jim Liu <[email protected]>
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;
}