Message ID | 20180219101343.2922561-6-arnd@arndb.de |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp3330748ljc; Mon, 19 Feb 2018 02:15:12 -0800 (PST) X-Google-Smtp-Source: AH8x2265YuwWoVeR3Y8v6sRSuemUKXBCD/IL1/gnfcK55YXMcOjfCGsQw2tIOPbnc0TvhhsWgvNm X-Received: by 10.98.97.198 with SMTP id v189mr14306623pfb.110.1519035312575; Mon, 19 Feb 2018 02:15:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519035312; cv=none; d=google.com; s=arc-20160816; b=uCnmYQWaI/Xs/LQr2z+9rBSyf7Y98e59z9kWTD+Nfkcr/jDf8yS8QY+pwTRYKY/omu M9njkklgE2FoKi/PhaZ3AAsRbu5j06Af/mxURz0fEJom84MWGgWBOgUWJCRai2WBo8zY kZMNAz3viZILrolswy7am8V3F8V2OrS/if5r7BQbCN/+NVO8GT8HPfnSJkEBWsWm/StR mCLcKKbLMGV3uwRpmLE+nPeSZzNzgngG0d9Gcg21lkGFJ9ZhzO40sMp6PT1empYMO77k Akzbo4bO/kDfCUg9c47wfutNahy3PQ5j4A580Jt/KeQP5p/++aS/wU1xXVhH6h8gZT+D JH3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=eVXrqTXtxEG9bmultQsB61CyawsCKv0A6MAfHntmcVY=; b=hulDHZCRypXm8uVRaRFwXvZY9ylLuZ4HMo+t/7OBvQVYcNs5YVrGn5saFGTloh69I0 um3Lvqc/WcDHCiDKUsb3h1RS5WIvR9zeKZTSrvVP9vlv/E9DtlIPbkHn2fJBz7qUBE1F J/UCgurs/Sg4OqITELxczJd7k53U6Bzi8TCEQQtePHsE2rVKgfB06GMoEJ8twZ7DXoac dh0NRjjt2k3Jdzl0CP5xA9t2RoyRiREuWrewDuw4A6siiiXd2MzUmKngFEWrJ36bgNoV QhDyVTuhiqtxtpaFtmUhyPqUvATKzbZEhxcpjKj9vqq+iFy4UUP+1y88WqVXESONm56e NgHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c24-v6si8764307plo.608.2018.02.19.02.15.12; Mon, 19 Feb 2018 02:15:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752651AbeBSKPJ (ORCPT <rfc822; dan.rue@linaro.org> + 28 others); Mon, 19 Feb 2018 05:15:09 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:37105 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752244AbeBSKPE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 19 Feb 2018 05:15:04 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue006 [212.227.15.129]) with ESMTPA (Nemesis) id 0MCk22-1evvgG1uYE-009NOO; Mon, 19 Feb 2018 11:14:50 +0100 From: Arnd Bergmann <arnd@arndb.de> To: stable@vger.kernel.org Cc: Greg KH <gregkh@linuxfoundation.org>, linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>, Mark Brown <broonie@kernel.org>, Sasha Levin <alexander.levin@verizon.com>, Geert Uytterhoeven <geert@linux-m68k.org>, linux-spi@vger.kernel.org Subject: [4.9-stable 5/9] spi: bcm-qspi: shut up warning about cfi header inclusion Date: Mon, 19 Feb 2018 11:13:24 +0100 Message-Id: <20180219101343.2922561-6-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20180219101343.2922561-1-arnd@arndb.de> References: <20180219101343.2922561-1-arnd@arndb.de> X-Provags-ID: V03:K0:fNFR2SkUFidD6DOd1hU5AvN+G6oI/N4CzysfeBlm1iWZIRCXOjG lzSiGhuoVlgPkivX+6stIh5N/Jf0u9LytIbyq28exIKTIGw14a9UrOiZjRCSTzRu/lGbybA qMpS3H3sDgUDW0uUAzzK9bJCz4LO3ub7HvBrnpH9Jt+g3czQLb4vxAeeO3LeRPwrRa/WG1s 3EAsc7gB9arOjNrOzBm3A== X-UI-Out-Filterresults: notjunk:1; V01:K0:AY+2YVoWEbo=:fcLX51cy29RDGkP2X7ABTd nTnjHh6+mW6exPRfg9cVmHDnu5imP2UR6MDsWOAfSPGSGt3ptNr+bR7nQNA7uBv0gHt5Kkzu3 6h44G5xyrlDmlhfZ/WS9mXJE4dqi48R9GAEnd9iSHbJuf/y3h2SFL53eV/WSl254Yt39LVSJI 8fLuN8MgOm4wBFqWi8ohl9130IwniMzh6PAfyUcdM3BIAObboHm/9NQWClD6RHsVVLv2iy9/8 /Vsp6EUx6f2ZD/7GQKhcEcEHz3yaKxy4IK+uwbLboPJV/6rVwoRc/uB03051qq02Z4tRM5Udb 6QZsYIIyOMilbBvCLOHqPBKWF16pKkYeAh59SlzSD6TQ2nD08ER2vy6UwJkgWxXAInaMCP7xa nsZx0YWb0wgBvPMtsAGSfUc2MGZRRkOIcDhhr4ZyGiFqvKG2LG/aQoBjRwkUmZkbjAq04a96B yQH6brhEwlPXZdYUft/jgnkxVXluvhrz8M0SscUBsKwJnVwc/oOvfhiBnJXVzaz+hSJ4gjt5L NRZaSu6ll5VrjSo2mUmky7CfrS/hwEPxPfz4LnaXqReKE9dQqVVlJFZER4Co5oYG4hsKsRWHb 6chw7mabsJOmU6UYtT/7nJfybMADygwUaOA45EhVBex9Tffe1WNlI7bboKiQLruORZOfqBocc Xnqrg3hMxQZ0y5aqLVk0FLgN8mbZmK9GBkDsiDcZj7vm925RcMUElyz0+IfhmSwK5GXrPPAai +yRLugm2oY5cEDT7lpKTmSFoJQ5Xlphf+slcOw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index b7995474148c..0e7415f6d093 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -156,6 +156,7 @@ config SPI_BCM63XX_HSSPI config SPI_BCM_QSPI tristate "Broadcom BSPI and MSPI controller support" depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || COMPILE_TEST + depends on MTD_NORFLASH default ARCH_BCM_IPROC help Enables support for the Broadcom SPI flash and MSPI controller.
When CONFIG_MTD_CFI is disabled, we get a warning for this spi driver: include/linux/mtd/cfi.h:76:2: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Werror=cpp] The problem here is a layering violation that was fixed in mainline kernels with a larger rework in commit 054e532f8f90 ("spi: bcm-qspi: Remove hardcoded settings and spi-nor.h dependency"). We can't really backport that to stable kernels, so this just adds a Kconfig dependency to make it either build cleanly or force it to be disabled. Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- drivers/spi/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0