[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241113012029.3204-1-zhangjiao2@cmss.chinamobile.com>
Date: Wed, 13 Nov 2024 09:20:29 +0800
From: zhangjiao2 <zhangjiao2@...s.chinamobile.com>
To: dlemoal@...nel.org
Cc: linus.walleij@...aro.org,
linux-riscv@...ts.infradead.org,
linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org,
zhang jiao <zhangjiao2@...s.chinamobile.com>
Subject: [PATCH] pinctrl: k210: Modify the wrong "#undef"
From: zhang jiao <zhangjiao2@...s.chinamobile.com>
Here shuld be undef "K210_PC_DEFAULT", not "DEFAULT".
Signed-off-by: zhang jiao <zhangjiao2@...s.chinamobile.com>
---
drivers/pinctrl/pinctrl-k210.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-k210.c b/drivers/pinctrl/pinctrl-k210.c
index caf20215aaba..eddb01796a83 100644
--- a/drivers/pinctrl/pinctrl-k210.c
+++ b/drivers/pinctrl/pinctrl-k210.c
@@ -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.
--
2.33.0
Powered by blists - more mailing lists