From nobody Mon Feb 9 17:29:11 2026 Received: from cmccmta2.chinamobile.com (cmccmta6.chinamobile.com [111.22.67.139]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3ACC67081F; Wed, 13 Nov 2024 07:12:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=111.22.67.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731481932; cv=none; b=gCCzmiHgH5qgk1zNDjTIpMvXLcb0o6YFYB9AYufGLbblUVHSw1fSKO7WTP+dTe8oY/qcIRZnFoS9EViimAA8kD1d6DdC6vF5bM9kjBz554Qz9lJe/AaYoPkyY5pBqUednQO42nxF0SV7PAHSZ6nN1HCv6s6jR/PPz1ATVTlWMqg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731481932; c=relaxed/simple; bh=VW0RcWE6ESzxZakFAxwmSvtgoIN3Y/ZhwPy7PdJOFcY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=dnZvrCPNXi3Ma5SWmMV041NJ+SzbWC+HdMHEVMPmJbg1xTbjwMYZM9SE9tfyK4tnZUxbs/vWBOAobiTMjVtnl3OelV7QEcf3HPsW9aUeXlJbpa4U9CgQbQ26DWatbYLImHkgUI/nTJLBS1HBbiWA86gU/xd8WmyzkuAxwFYVR8A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cmss.chinamobile.com; spf=pass smtp.mailfrom=cmss.chinamobile.com; arc=none smtp.client-ip=111.22.67.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cmss.chinamobile.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cmss.chinamobile.com X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from spf.mail.chinamobile.com (unknown[10.188.0.87]) by rmmx-syy-dmz-app05-12005 (RichMail) with SMTP id 2ee5673451443eb-16400; Wed, 13 Nov 2024 15:12:04 +0800 (CST) X-RM-TRANSID: 2ee5673451443eb-16400 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from localhost.localdomain (unknown[223.108.79.101]) by rmsmtp-syy-appsvr05-12005 (RichMail) with SMTP id 2ee567345143e77-7f007; Wed, 13 Nov 2024 15:12:04 +0800 (CST) X-RM-TRANSID: 2ee567345143e77-7f007 From: zhangjiao2 To: dlemoal@kernel.org Cc: linus.walleij@linaro.org, linux-riscv@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, zhang jiao Subject: [PATCH v4] pinctrl: k210: Undef K210_PC_DEFAULT Date: Wed, 13 Nov 2024 15:12:01 +0800 Message-Id: <20241113071201.5440-1-zhangjiao2@cmss.chinamobile.com> X-Mailer: git-send-email 2.33.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: zhang jiao 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: d4c34d09ab03 ("pinctrl: Add RISC-V Canaan Kendryte K210 FPIOA driver= ") Signed-off-by: zhang jiao Reviewed-by: Damien Le Moal --- v3->v4: Modify commit info and add review tag. 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[] =3D { [K210_PC_DEFAULT_INT13] =3D K210_PC_MODE_IN | K210_PC_PU, }; =20 -#undef DEFAULT +#undef K210_PC_DEFAULT =20 /* * Pin functions configuration information. --=20 2.33.0