From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D9B7C19F35 for ; Tue, 10 Aug 2021 14:16:38 +0000 (UTC) Received: by mail.kernel.org (Postfix) id E27D560F02; Tue, 10 Aug 2021 14:16:37 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 0D57D60F94; Tue, 10 Aug 2021 14:16:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628604997; bh=ceP+nQXc8e3q3MzfM/Je2UvzGY3M7qXoUsuOeb6Z5nY=; h=From:To:List-Id:Cc:Subject:Date:In-Reply-To:References:From; b=Bwb5ExcZH0+7sMpgQqT9tYZJBJMqeFqjWmuRQFRPAN4DrvOCG4vDMpGKs8G8oiLPm dAQIWaD+v0yct8lGpCokELNsYXWux9knsyaVTxcvkLHKIy9MHBV7VFmHdFNHb7fmZq f/lzVdifpw5RPpTmHKz1Nnv13fwnmB3Eq2hxRfl3MZyhMVzBzHVy83/hSVvHyjKvWt Q3hMpDUOl5ejG61ChXoLRJgJj4stiRDHWWtk6oOpmXZyh0PKr75zaE+Q/3ii4VzYpi daczhWpS040MU9cRFWVIQ71W5nvpWh7mgkAXtoPoWSYVZyPt8Lznnsa394eZBuatfr sEwlMLK1u7khg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org List-Id: Cc: Arnd Bergmann , Linus Walleij , soc@kernel.org, Sasha Levin , linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 4.19 09/11] ARM: ixp4xx: goramo_mlr depends on old PCI driver Date: Tue, 10 Aug 2021 10:16:22 -0400 Message-Id: <20210810141625.3118097-9-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210810141625.3118097-1-sashal@kernel.org> References: <20210810141625.3118097-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Arnd Bergmann [ Upstream commit 796a8c85b1216618258e08b463d3bef0d7123760 ] When this driver is disabled, the board file fails to build, so add a dependency: arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'gmlr_pci_preinit': arch/arm/mach-ixp4xx/goramo_mlr.c:472:9: error: implicit declaration of function 'ixp4xx_pci_preinit'; did you mean 'iop3xx_pci_preinit'? [-Werror=implicit-function-declaration] 472 | ixp4xx_pci_preinit(); | ^~~~~~~~~~~~~~~~~~ | iop3xx_pci_preinit arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'gmlr_pci_postinit': arch/arm/mach-ixp4xx/goramo_mlr.c:481:22: error: implicit declaration of function 'ixp4xx_pci_read' [-Werror=implicit-function-declaration] 481 | if (!ixp4xx_pci_read(addr, NP_CMD_CONFIGREAD, &value)) { | ^~~~~~~~~~~~~~~ arch/arm/mach-ixp4xx/goramo_mlr.c:231:35: error: 'IXP4XX_UART1_BASE_PHYS' undeclared here (not in a function) 231 | .start = IXP4XX_UART1_BASE_PHYS, | ^~~~~~~~~~~~~~~~~~~~~~ arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'gmlr_init': arch/arm/mach-ixp4xx/goramo_mlr.c:376:9: error: implicit declaration of function 'ixp4xx_sys_init' [-Werror=implicit-function-declaration] 376 | ixp4xx_sys_init(); | ^~~~~~~~~~~~~~~ Signed-off-by: Arnd Bergmann Reviewed-by: Linus Walleij Cc: Linus Walleij Cc: soc@kernel.org Link: https://lore.kernel.org/r/20210721151620.2373500-1-arnd@kernel.org' Signed-off-by: Arnd Bergmann Signed-off-by: Sasha Levin --- arch/arm/mach-ixp4xx/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-ixp4xx/Kconfig b/arch/arm/mach-ixp4xx/Kconfig index c342dc4e8a45..2489b6151ace 100644 --- a/arch/arm/mach-ixp4xx/Kconfig +++ b/arch/arm/mach-ixp4xx/Kconfig @@ -76,6 +76,7 @@ config MACH_IXDP465 config MACH_GORAMO_MLR bool "GORAMO Multi Link Router" + depends on IXP4XX_PCI_LEGACY help Say 'Y' here if you want your kernel to support GORAMO MultiLink router. -- 2.30.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C98EC4338F for ; Tue, 10 Aug 2021 14:21:08 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B76DD60EBB for ; Tue, 10 Aug 2021 14:21:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B76DD60EBB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:References:In-Reply-To: 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: List-Owner; bh=JCsZvwyqMc4bpKAYZLxs0wCMFzlwtlD1qym5SnVvU8k=; b=kazsIhA6xy1fgz eLubxHsEI7y0qSVJtRSt1jAVac1thhK3yA56+khf6EB6bhKAk6gCkZKLuVNz3Vz3w3BQFljL4YA3/ U/dKSbuDthzkruz3V6GxqK/mHROyF2Z7ad9LdngC/dDor/t+t/Rmuw/GbTWwPqOLmq9zxZ8vqTs9j qsc0kJVzhBeamDMwQ2+ctKpAVKc0R4yqRFESZukc5tZthpnkxkbr3tZdufsi8/mTlJCvWxn/J1e5E DDWnDMCuoorLlRFmPdccvT+nvA6jLWpYHEGQBO0sRCYfXEjQhIL9fLrxGM1ESnUxlhAFIKdmAr+z2 crcN77eiPgBYJIdNe8XQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDSb3-0048WO-4r; Tue, 10 Aug 2021 14:19:13 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDSYY-00470E-4H for linux-arm-kernel@lists.infradead.org; Tue, 10 Aug 2021 14:16:40 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0D57D60F94; Tue, 10 Aug 2021 14:16:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628604997; bh=ceP+nQXc8e3q3MzfM/Je2UvzGY3M7qXoUsuOeb6Z5nY=; h=From:To:List-Id:Cc:Subject:Date:In-Reply-To:References:From; b=Bwb5ExcZH0+7sMpgQqT9tYZJBJMqeFqjWmuRQFRPAN4DrvOCG4vDMpGKs8G8oiLPm dAQIWaD+v0yct8lGpCokELNsYXWux9knsyaVTxcvkLHKIy9MHBV7VFmHdFNHb7fmZq f/lzVdifpw5RPpTmHKz1Nnv13fwnmB3Eq2hxRfl3MZyhMVzBzHVy83/hSVvHyjKvWt Q3hMpDUOl5ejG61ChXoLRJgJj4stiRDHWWtk6oOpmXZyh0PKr75zaE+Q/3ii4VzYpi daczhWpS040MU9cRFWVIQ71W5nvpWh7mgkAXtoPoWSYVZyPt8Lznnsa394eZBuatfr sEwlMLK1u7khg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org List-Id: Cc: Arnd Bergmann , Linus Walleij , soc@kernel.org, Sasha Levin , linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 4.19 09/11] ARM: ixp4xx: goramo_mlr depends on old PCI driver Date: Tue, 10 Aug 2021 10:16:22 -0400 Message-ID: <20210810141625.3118097-9-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210810141625.3118097-1-sashal@kernel.org> References: <20210810141625.3118097-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210810_071638_241330_B50D2CCD X-CRM114-Status: GOOD ( 10.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Message-ID: <20210810141622.M7IVkKuxtT7YuZY3k3KHtu4aR8OIz0AmSlH8TeugJQg@z> From: Arnd Bergmann [ Upstream commit 796a8c85b1216618258e08b463d3bef0d7123760 ] When this driver is disabled, the board file fails to build, so add a dependency: arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'gmlr_pci_preinit': arch/arm/mach-ixp4xx/goramo_mlr.c:472:9: error: implicit declaration of function 'ixp4xx_pci_preinit'; did you mean 'iop3xx_pci_preinit'? [-Werror=implicit-function-declaration] 472 | ixp4xx_pci_preinit(); | ^~~~~~~~~~~~~~~~~~ | iop3xx_pci_preinit arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'gmlr_pci_postinit': arch/arm/mach-ixp4xx/goramo_mlr.c:481:22: error: implicit declaration of function 'ixp4xx_pci_read' [-Werror=implicit-function-declaration] 481 | if (!ixp4xx_pci_read(addr, NP_CMD_CONFIGREAD, &value)) { | ^~~~~~~~~~~~~~~ arch/arm/mach-ixp4xx/goramo_mlr.c:231:35: error: 'IXP4XX_UART1_BASE_PHYS' undeclared here (not in a function) 231 | .start = IXP4XX_UART1_BASE_PHYS, | ^~~~~~~~~~~~~~~~~~~~~~ arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'gmlr_init': arch/arm/mach-ixp4xx/goramo_mlr.c:376:9: error: implicit declaration of function 'ixp4xx_sys_init' [-Werror=implicit-function-declaration] 376 | ixp4xx_sys_init(); | ^~~~~~~~~~~~~~~ Signed-off-by: Arnd Bergmann Reviewed-by: Linus Walleij Cc: Linus Walleij Cc: soc@kernel.org Link: https://lore.kernel.org/r/20210721151620.2373500-1-arnd@kernel.org' Signed-off-by: Arnd Bergmann Signed-off-by: Sasha Levin --- arch/arm/mach-ixp4xx/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-ixp4xx/Kconfig b/arch/arm/mach-ixp4xx/Kconfig index c342dc4e8a45..2489b6151ace 100644 --- a/arch/arm/mach-ixp4xx/Kconfig +++ b/arch/arm/mach-ixp4xx/Kconfig @@ -76,6 +76,7 @@ config MACH_IXDP465 config MACH_GORAMO_MLR bool "GORAMO Multi Link Router" + depends on IXP4XX_PCI_LEGACY help Say 'Y' here if you want your kernel to support GORAMO MultiLink router. -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel