Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4755978iob; Mon, 9 May 2022 00:23:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFxZ6mINPy4ZeA82cFxp09YkwYRLwludIyLUA0emzB7SCFt3X6dXupv7qiqGjRDJez7bX6 X-Received: by 2002:a65:6657:0:b0:381:1b99:3f04 with SMTP id z23-20020a656657000000b003811b993f04mr11944691pgv.512.1652081012389; Mon, 09 May 2022 00:23:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652081012; cv=none; d=google.com; s=arc-20160816; b=Xo3kllSZ27lJO2tJdQxmAtFFs5A6BttsofHYcTtkmNiLFYVsR5vxbsL5FNLNUefMzQ S06EDfvhzTVlED5N+mtR/hnauDxUVGcVqlw0creyvvhm25Z43K86hvRu94XhEmHabNoJ SL6e9YM6R0P5YIpl2YwGfchJB0tNTvGfC6UjMkUcYerTjSAubp525vLg+VbokmWQdsC2 mhzls51gLpIf12sj7TYvnIZpOHCGhJweO9aZRfalnwovV/LWZNHvgyaGc89ParcF2K5M b/Kf+v7RwAC0cqY0TXXFKWthk96AeYMUjk3zxmPjUVsyk3skx2zm/guqvZuooNeH3AHZ AZyQ== 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=XRkcz+BnC201mnPu5RfxpZvHaRV7A866rkc+Hk7s+Rs=; b=UKr5yypf3kP91Ceg5b/lpmetSt4jmJjWPUOPkXZPkrOiybbR4YEmmAA2D13zSrs2FS eiOjLT2PRRMz1gmHna0ZlPYEiAaO4gizU5aYCSgRIaLEDGxKT6Ke9mC6K4zlJ5i+DPNc 7afan4ngzJNGrl9vkF8reDwuU0Xlq1BBA6EzWRwvwErCv//S1XvlMPRdUaElMEl43H6D /q6rpK+EOtEf1dW+M4vR7plBD4vg9+QqlIEgW4uAbl/UWQIDJwo5iZJ+lFIyddY9Z+cC vpvg8ZAEEMdXzVBuS9b0eNXegvfWRsOL6LLj1wnodpMFHObPzdU3mbVyvy+AyuNOURZU px0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QdPszhLi; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id j72-20020a638b4b000000b003c5e187057bsi12268687pge.555.2022.05.09.00.23.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 00:23:32 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QdPszhLi; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 9DFE51B3B93; Mon, 9 May 2022 00:20:28 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356074AbiEDRR7 (ORCPT + 99 others); Wed, 4 May 2022 13:17:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356062AbiEDREv (ORCPT ); Wed, 4 May 2022 13:04:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6C8850076; Wed, 4 May 2022 09:53:43 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 3EC63617D5; Wed, 4 May 2022 16:53:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 870F7C385A5; Wed, 4 May 2022 16:53:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651683222; bh=NMC99gcqDM2guG2tRry0M7OaVR82LfisPaysCzoEjCY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QdPszhLigUAqn5bxNmBkHpm1un0YNoLcyHfCqEHjYns/g8OYcd/FDZ2kjOHVPh9lB /YN2zvsofwhpyflVcrWUkyh7qoC4bCZxG3/KNIhV2tBGzqjZ69lKGtud0d1R3Ca71J pERnd6I9sElkmFxSJc52BRygNok2C5E0D054vb3A= 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.15 075/177] pinctrl: mediatek: moore: Fix build error Date: Wed, 4 May 2022 18:44:28 +0200 Message-Id: <20220504153059.785244126@linuxfoundation.org> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220504153053.873100034@linuxfoundation.org> References: <20220504153053.873100034@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 7040a7a7bd5d..246b0e951e1c 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