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: 101784 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp18984qgf; Thu, 15 Sep 2016 08:40:52 -0700 (PDT) X-Received: by 10.98.36.70 with SMTP id r67mr1797305pfj.174.1473954052304; Thu, 15 Sep 2016 08:40:52 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8si4803264pay.18.2016.09.15.08.40.52 for ; Thu, 15 Sep 2016 08:40:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-spi-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-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-spi-owner@vger.kernel.org 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 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(-) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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