From patchwork Thu Sep 15 15:40:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9334093 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AC31C607FD for ; Thu, 15 Sep 2016 15:40:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9DC07299B9 for ; Thu, 15 Sep 2016 15:40:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E3FA299C0; Thu, 15 Sep 2016 15:40:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1ED2C299B9 for ; Thu, 15 Sep 2016 15:40:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752073AbcIOPkv (ORCPT ); Thu, 15 Sep 2016 11:40:51 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:64697 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751990AbcIOPku (ORCPT ); Thu, 15 Sep 2016 11:40:50 -0400 Received: from wuerfel.lan. ([78.43.20.153]) by mrelayeu.kundenserver.de (mreue102) with ESMTPA (Nemesis) id 0LmuL6-1b5kqG3T5A-00h5fw; Thu, 15 Sep 2016 17:40:36 +0200 From: Arnd Bergmann To: Mark Brown Cc: Arnd Bergmann , Kamal Dasu , Yendapally Reddy Dhananjaya Reddy , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] spi: bcm-qspi: don't include linux/mtd/cfi.h Date: Thu, 15 Sep 2016 17:40:15 +0200 Message-Id: <20160915154033.3002634-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:qoT2SGPwRYsehA/7T1F/nR6tJgMsTFyDfDZwHkQ0AtL9hsrrvrq 7K4RAJQjlY9Fs00qyUA4vUAkXTfZBx5dr3rrnelJc7CZWXashgwiud7AHcCRegYSIk9RQDR NaoDNg5PSnhaKE/Amq7V5D/DxmxbMNap0/IMfJq4APU/0jizbqWAH662lJ1doN41stsDPWR ATmwowJYPJPGAUx0i2Ppg== X-UI-Out-Filterresults: notjunk:1; V01:K0:Rv/5zviw0Os=:bkRHynl7ujzQkJmndzVTIh D+Q9K58HTiomy/RbMuy4zBmjiSm8LInig9OvtmiOdpwlWTcHyaO78b/zw/m2DGZ9xdZUF4MEB Ske5BAHh1hWNZlyh3XApxWaxCT2rWH1HdAf82zU4w8Q9tAObx1MjAKYrC9ldzKOtnELMvwr9G IZLQYoEOlljk0LkpNGpc+Pt+g8FnAXQAW2MPptejoR5YD+FJl18VBhqFBxsu4jMWMZMwgqezZ jutxA87/Gu6QL4HjtBAZQH5cQk+B0P5DjX4Fw6R4nKPPx4WiPcdwjuUK3pzIe5ZL+eXJkZTU+ rrSdWNrCH9Qhjt/BbCnDwuPW10QumsTn8YKkWECXOQObJTVz9+LzSFMOBlW8tUiYcQDjnZSZe 1OaxN1a53jmdnx3FIFszx/pwzYGgMFDTmb401vff7Kvk9kt/Du4ZxOdPAQMVn6tKBonyUCTEv xq8IM+dhMZqsVsmmsQkehBx9krPGI7vE9gKHWHqUpxqA6XU4cgzOTFM7UDZKSZLIPcbRv0tbW gpPiyNGNTVMzQEjD+Hhwg+wT0oriLYg2TLkCrCZZlbgWesHFp00P3jynMIZOG5CqE0X0MpPqO DMlLXy5rWcchl91GAJO1L6zxEdUNsxBCEDlqQ4dZjGpQ7f9wSVKbwXpHA2lw0u2V6AFppcOh6 oFegG7MR/BMS1piApwyLfYEkdqwyGtW2wsWNpdZcfMOTY1MC4dPpG8ZfV4G0FSCNNDIk= Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The header isn't actually needed here, but including it leads to a build warning when CONFIG_MTD is disabled: include/linux/mtd/cfi.h:76:2: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Werror=cpp] Fixes: fa236a7ef240 ("spi: bcm-qspi: Add Broadcom MSPI driver") Signed-off-by: Arnd Bergmann --- drivers/spi/spi-bcm-qspi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-bcm-qspi.c b/drivers/spi/spi-bcm-qspi.c index 8bbe8605e373..64e693de1486 100644 --- a/drivers/spi/spi-bcm-qspi.c +++ b/drivers/spi/spi-bcm-qspi.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include