Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4671346iob; Sun, 8 May 2022 21:23:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvV59VpEBo9OIMmZOahK/4gb10+mp5LCF3qsbLuh3yvOV1/AbL5TgEcfgr/2ROIlWJksb5 X-Received: by 2002:a63:914b:0:b0:3ab:48:8a16 with SMTP id l72-20020a63914b000000b003ab00488a16mr11966154pge.617.1652070238080; Sun, 08 May 2022 21:23:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652070238; cv=none; d=google.com; s=arc-20160816; b=mV4+n18NJGeJ0fptqqTVinKaXdDDsOajgKf4nXwnrOJvK8PiDj4zJutNCrDLYr3wnu 0mZKS3KuAgQtvP9y0xgK/M1KjAidhgVz3REcSb9hf573vaaicb66/BEFiHUskoMv3k5L Wp8leoEbxsIFP/mhikiNGTKRlzj2+LUuK4WEETqyMStaEKnmTaUG5UF3wGdP/Alj0QhM CuwDvxJLNQXrUOw3tLZ8PBjroU4vz5k+liiPGzqqcWPxQdIzYVBX/dlOtP6O3c4MY2hE /eGggpFR9nDFCzz+PqPbrMhwL7MR92+6ObU32EOwpIkwY4YvNUwOFSGwQIMfiGslRxgh WjMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=h3DGx5FfwtsJ0LBpRQrTWJvqy6zrGW5KAq+2CYmD5ec=; b=mA4I0hs7nkJVyjs1XgohXMAqr0ps4g8PCDqvpLlP68QP8ylF3/kH2JXg7c4GLaVJjU cranAJw5H10t1IHLsWDzA5QaoC41NgYW7JU4QYD/JHIDG0YV6zJmVCszG1zPrywdp7nH RBMWZap3BK4hT7MlIzKibGr/OU75fcogHlaou6wmGeP8x573TqyISZz9mdv5/Uc+2pK2 HCtW8ieC/cGH7BI139i6BOgn1AFpeJ2HirJfnq5+DEkuQjPfOIh9XGpSikcCSFW0I/Os t7awe38QyUkCXhj4Si9HET+krTCmDtwqLsnT2I5J4AzIVCdTixMdaAzUZ5Y4WflPTgjB sx8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=b6wOzisb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id na16-20020a17090b4c1000b001cb8365e641si14979743pjb.52.2022.05.08.21.23.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 21:23:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=b6wOzisb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6BEAB11AFD5; Sun, 8 May 2022 21:23:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356334AbiEDRFJ (ORCPT + 99 others); Wed, 4 May 2022 13:05:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354743AbiEDQ7D (ORCPT ); Wed, 4 May 2022 12:59:03 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A2A24739D; Wed, 4 May 2022 09:50:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D6228B8279F; Wed, 4 May 2022 16:50:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8EDA4C385AA; Wed, 4 May 2022 16:50:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651683054; bh=7KnIS43fRzW4v33swcWxyFG+3AR+OEqaZoJf2FShrEw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b6wOzisbpfWTkozeLK873wNDmSfSGnoMhpJ0DfPsTKbyeQ4EL5jIPhaNpEwGck3dq /6lAdDv1h7Y18o3rdZRnJl66TVubipgN60vnL7PDUJlL3ixBnR6v5t+hbZQ/1rn9zw EEtfv2bYD//JWA9MpFpJCk8ZYb5xrH/PfvAFMMjM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, YueHaibing , Linus Walleij , Sasha Levin Subject: [PATCH 5.10 058/129] pinctrl: mediatek: moore: Fix build error Date: Wed, 4 May 2022 18:44:10 +0200 Message-Id: <20220504153025.764537484@linuxfoundation.org> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220504153021.299025455@linuxfoundation.org> References: <20220504153021.299025455@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YueHaibing [ Upstream commit 87950929e2ff2236207bdbe14bff8230558b541b ] If EINT_MTK is m and PINCTRL_MTK_V2 is y, build fails: drivers/pinctrl/mediatek/pinctrl-moore.o: In function `mtk_gpio_set_config': pinctrl-moore.c:(.text+0xa6c): undefined reference to `mtk_eint_set_debounce' drivers/pinctrl/mediatek/pinctrl-moore.o: In function `mtk_gpio_to_irq': pinctrl-moore.c:(.text+0xacc): undefined reference to `mtk_eint_find_irq' Select EINT_MTK for PINCTRL_MTK_V2 to fix this. Fixes: 8174a8512e3e ("pinctrl: mediatek: make MediaTek pinctrl v2 driver ready for buidling loadable module") Signed-off-by: YueHaibing Link: https://lore.kernel.org/r/20220409105958.37412-1-yuehaibing@huawei.com Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- drivers/pinctrl/mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig index eef17f228669..4ed41d361589 100644 --- a/drivers/pinctrl/mediatek/Kconfig +++ b/drivers/pinctrl/mediatek/Kconfig @@ -30,6 +30,7 @@ config PINCTRL_MTK_MOORE select GENERIC_PINMUX_FUNCTIONS select GPIOLIB select OF_GPIO + select EINT_MTK select PINCTRL_MTK_V2 config PINCTRL_MTK_PARIS -- 2.35.1