Skip to content

Commit 7e86490

Browse files
zhang jiaolinusw
authored andcommitted
pinctrl: k210: Undef K210_PC_DEFAULT
When the temporary macro K210_PC_DEFAULT is not needed anymore, use its name in the #undef statement instead of the incorrect "DEFAULT" name. Fixes: d4c34d0 ("pinctrl: Add RISC-V Canaan Kendryte K210 FPIOA driver") Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/20241113071201.5440-1-zhangjiao2@cmss.chinamobile.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 6bc0ebf commit 7e86490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/pinctrl-k210.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ static const u32 k210_pinconf_mode_id_to_mode[] = {
181181
[K210_PC_DEFAULT_INT13] = K210_PC_MODE_IN | K210_PC_PU,
182182
};
183183

184-
#undef DEFAULT
184+
#undef K210_PC_DEFAULT
185185

186186
/*
187187
* Pin functions configuration information.

0 commit comments

Comments
 (0)