Commit 7e86490c authored by zhang jiao's avatar zhang jiao Committed by Linus Walleij
Browse files

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: d4c34d09 ("pinctrl: Add RISC-V Canaan Kendryte K210 FPIOA driver")
Signed-off-by: default avatarzhang jiao <zhangjiao2@cmss.chinamobile.com>
Reviewed-by: default avatarDamien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/20241113071201.5440-1-zhangjiao2@cmss.chinamobile.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 6bc0ebfb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -181,7 +181,7 @@ static const u32 k210_pinconf_mode_id_to_mode[] = {
	[K210_PC_DEFAULT_INT13] = K210_PC_MODE_IN | K210_PC_PU,
};

#undef DEFAULT
#undef K210_PC_DEFAULT

/*
 * Pin functions configuration information.