From patchwork Wed Nov 13 01:20:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: zhangjiao2 X-Patchwork-Id: 13873084 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 22439D597C1 for ; Wed, 13 Nov 2024 01:20:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HOfZXb980ZHU93QcZLbl8lD8FVjrLSWZx+KkxMeJpt0=; b=uVkmoduNu8lbhl gyonTRk4/S2S0l/NP0yJSvqzkIka6DB2ZWPRmvhvXDUoSide99mKzYXs0IYwqsV7WU5AsbBoQjqhj SPYmhTDiKjY9AK6cB0IVSV0vnvasennXVTaZee8i6xtbqdd+RwxBvDNzFYWqGeGKqSVNe0AoJZihl 1JRojZOH+mUl+1v1BNWLBQAdwJaPB7vJEDI8Wj5/6gqZyWXfxDdQWR/bdhTumhQFfa2oiBIR+Jrcx FE9jjYarPhHoLhhQM0pMR8eL707gd5K2hzsO21BF7r2dQZFTOktK5VwGp40/lRZDzOoZnhCKY4FDv kWBD7oYgx2f1eoRW+QhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tB23o-00000005VEv-3pjw; Wed, 13 Nov 2024 01:20:44 +0000 Received: from cmccmta8.chinamobile.com ([111.22.67.151] helo=cmccmta2.chinamobile.com) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tB23l-00000005VE4-0GmL for linux-riscv@lists.infradead.org; Wed, 13 Nov 2024 01:20:43 +0000 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-app06-12006 (RichMail) with SMTP id 2ee66733fedf124-e19f4; Wed, 13 Nov 2024 09:20:31 +0800 (CST) X-RM-TRANSID: 2ee66733fedf124-e19f4 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from localhost.localdomain (unknown[223.108.79.101]) by rmsmtp-syy-appsvr10-12010 (RichMail) with SMTP id 2eea6733fede07e-70045; Wed, 13 Nov 2024 09:20:31 +0800 (CST) X-RM-TRANSID: 2eea6733fede07e-70045 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] pinctrl: k210: Modify the wrong "#undef" Date: Wed, 13 Nov 2024 09:20:29 +0800 Message-Id: <20241113012029.3204-1-zhangjiao2@cmss.chinamobile.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241112_172041_924179_04FB7CF0 X-CRM114-Status: UNSURE ( 7.00 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: zhang jiao Here shuld be undef "K210_PC_DEFAULT", not "DEFAULT". Signed-off-by: zhang jiao --- 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.