{"id":817317,"url":"http://patchwork.ozlabs.org/api/patches/817317/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-mtd/patch/1506052009-8285-4-git-send-email-yamada.masahiro@socionext.com/","project":{"id":3,"url":"http://patchwork.ozlabs.org/api/projects/3/?format=json","name":"Linux MTD development","link_name":"linux-mtd","list_id":"linux-mtd.lists.infradead.org","list_email":"linux-mtd@lists.infradead.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1506052009-8285-4-git-send-email-yamada.masahiro@socionext.com>","list_archive_url":null,"date":"2017-09-22T03:46:40","name":"[v2,03/12] mtd: nand: denali: consolidate include directives","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"3ea8475914386e246f94c477b0443dbdf89f382d","submitter":{"id":65882,"url":"http://patchwork.ozlabs.org/api/people/65882/?format=json","name":"Masahiro Yamada","email":"yamada.masahiro@socionext.com"},"delegate":{"id":58324,"url":"http://patchwork.ozlabs.org/api/users/58324/?format=json","username":"bbrezillon","first_name":"Boris","last_name":"Brezillon","email":"boris.brezillon@free-electrons.com"},"mbox":"http://patchwork.ozlabs.org/project/linux-mtd/patch/1506052009-8285-4-git-send-email-yamada.masahiro@socionext.com/mbox/","series":[{"id":4537,"url":"http://patchwork.ozlabs.org/api/series/4537/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-mtd/list/?series=4537","date":"2017-09-22T03:46:37","name":"mtd: nand: denali: more clean-ups","version":2,"mbox":"http://patchwork.ozlabs.org/series/4537/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/817317/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/817317/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"Fk4kx8rc\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=nifty.com header.i=@nifty.com\n\theader.b=\"wcXeahkJ\"; dkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xz01Y2FjPz9ryk\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 22 Sep 2017 13:52:49 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dvF18-0000Sn-6R; Fri, 22 Sep 2017 03:52:42 +0000","from conuserg-09.nifty.com ([210.131.2.76])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dvEwJ-0004Fe-3M\n\tfor linux-mtd@lists.infradead.org; Fri, 22 Sep 2017 03:47:57 +0000","from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp\n\t[153.142.97.92]) (authenticated)\n\tby conuserg-09.nifty.com with ESMTP id v8M3kwAM029389;\n\tFri, 22 Sep 2017 12:47:01 +0900"],"DKIM-Signature":["v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References:\n\tIn-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID:\n\tContent-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc\n\t:Resent-Message-ID:List-Owner;\n\tbh=DAtjOFYFPuXwx/ImvdSHNdwBgJqlMPIV250Wxt5ILMQ=;\n\tb=Fk4kx8rcrkt/fxGSdRE6obHplR\n\tFk6yUssbqbK1Vwfz53iwi0ij0n5PcSB0g4Z7PsYDFGjku/lNtf7Kvj8ipGElycZFboIZeVYN4vBEc\n\t8LIISFg6mJGho7ea1Za8E3+G0nINg4IOH7k4LB12f5HlDwURwN6/b4npLtVp7UyidZhxoob2PSevg\n\tI1P2CfdW+qdqng7CtY+MckEvXRQlyDOmBJb563oHh69XAuFK/IGi2uP7iP2vIjUjBD0TadiR45x+i\n\trxUCr6T1cqC3swE14y9U6sgjehP2nRVMcxImdL0qWmKFaQrRPJ6oi3kvJX0nc2gSB/Bgl1XmgUs1y\n\t4SqkgkFQ==;","v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com;\n\ts=dec2015msa; t=1506052022;\n\tbh=nCxCYJ4o/HY6G4JSiifqz9J7Vody8AeKbn7ojOw1fz4=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=wcXeahkJc70zqin3WcTMD3oGkvnxcIebfbV2E05WMf6rrLaZr4nxXRjVznlsvXiJf\n\tvVbKJQWtyuRe11EG4eisjDdm6Nkx4TtKDzToi0V423eLl22fWEhhAfSXC01qNn3k3o\n\toWA33xdtwBzTMMlxjOaOF691pVDvHqgR0DzzbpClrMGMt+1P2bUPjf7+f4/Vv0M785\n\ty1MZmq160FEw8tQURAKyJMq3azHG1cArx8w6rGyTu2Bd6XfZZ3HjXaQI+Pz+TTW118\n\tCjlSEArWdHEbkVmpzN6BXmzio/wUa26taL22CvfeamRP4L6Y2hGi2gqA/Be1oHHPuq\n\tkeveTZn6+HtGA=="],"DKIM-Filter":"OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v8M3kwAM029389","X-Nifty-SrcIP":"[153.142.97.92]","From":"Masahiro Yamada <yamada.masahiro@socionext.com>","To":"linux-mtd@lists.infradead.org","Subject":"[PATCH v2 03/12] mtd: nand: denali: consolidate include directives","Date":"Fri, 22 Sep 2017 12:46:40 +0900","Message-Id":"<1506052009-8285-4-git-send-email-yamada.masahiro@socionext.com>","X-Mailer":"git-send-email 2.7.4","In-Reply-To":"<1506052009-8285-1-git-send-email-yamada.masahiro@socionext.com>","References":"<1506052009-8285-1-git-send-email-yamada.masahiro@socionext.com>","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170921_204743_536081_AF777CB0 ","X-CRM114-Status":"GOOD (  10.17  )","X-Spam-Score":"-1.2 (-)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.2 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid","X-BeenThere":"linux-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Cc":"Boris Brezillon <boris.brezillon@free-electrons.com>,\n\tMarek Vasut <marek.vasut@gmail.com>,\n\tRichard Weinberger <richard@nod.at>, linux-kernel@vger.kernel.org,\n\tMasahiro Yamada <yamada.masahiro@socionext.com>, \n\tCyrille Pitchen <cyrille.pitchen@wedev4u.fr>,\n\tBrian Norris <computersforpeace@gmail.com>,\n\tDavid Woodhouse <dwmw2@infradead.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"},"content":"Include necessary headers explicitly without relying on indirect\nheader inclusion.  Also, sort them alphabetically.\n\n<linux/delay.h>, <linux/wait.h>, <linux/mutex.h> turned out bogus,\nso removed.\n\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n---\n\nChanges in v2: None\n\n drivers/mtd/nand/denali.c     | 12 +++++++-----\n drivers/mtd/nand/denali.h     |  3 +++\n drivers/mtd/nand/denali_dt.c  |  3 ++-\n drivers/mtd/nand/denali_pci.c |  3 +++\n 4 files changed, 15 insertions(+), 6 deletions(-)","diff":"diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c\nindex 48193f9..4daeb7f 100644\n--- a/drivers/mtd/nand/denali.c\n+++ b/drivers/mtd/nand/denali.c\n@@ -16,14 +16,16 @@\n  * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.\n  *\n  */\n-#include <linux/interrupt.h>\n-#include <linux/delay.h>\n+\n+#include <linux/completion.h>\n #include <linux/dma-mapping.h>\n-#include <linux/wait.h>\n-#include <linux/mutex.h>\n-#include <linux/mtd/mtd.h>\n+#include <linux/interrupt.h>\n+#include <linux/io.h>\n #include <linux/module.h>\n+#include <linux/mtd/mtd.h>\n+#include <linux/mtd/rawnand.h>\n #include <linux/slab.h>\n+#include <linux/spinlock.h>\n \n #include \"denali.h\"\n \ndiff --git a/drivers/mtd/nand/denali.h b/drivers/mtd/nand/denali.h\nindex 9239e67..dc3f970 100644\n--- a/drivers/mtd/nand/denali.h\n+++ b/drivers/mtd/nand/denali.h\n@@ -21,7 +21,10 @@\n #define __DENALI_H__\n \n #include <linux/bitops.h>\n+#include <linux/completion.h>\n #include <linux/mtd/rawnand.h>\n+#include <linux/spinlock_types.h>\n+#include <linux/types.h>\n \n #define DEVICE_RESET\t\t\t\t0x0\n #define     DEVICE_RESET__BANK(bank)\t\t\tBIT(bank)\ndiff --git a/drivers/mtd/nand/denali_dt.c b/drivers/mtd/nand/denali_dt.c\nindex 56e2e17..01e0100 100644\n--- a/drivers/mtd/nand/denali_dt.c\n+++ b/drivers/mtd/nand/denali_dt.c\n@@ -12,15 +12,16 @@\n  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\n  * more details.\n  */\n+\n #include <linux/clk.h>\n #include <linux/err.h>\n #include <linux/io.h>\n #include <linux/ioport.h>\n #include <linux/kernel.h>\n #include <linux/module.h>\n-#include <linux/platform_device.h>\n #include <linux/of.h>\n #include <linux/of_device.h>\n+#include <linux/platform_device.h>\n \n #include \"denali.h\"\n \ndiff --git a/drivers/mtd/nand/denali_pci.c b/drivers/mtd/nand/denali_pci.c\nindex 81370c7..7d5600b 100644\n--- a/drivers/mtd/nand/denali_pci.c\n+++ b/drivers/mtd/nand/denali_pci.c\n@@ -11,6 +11,9 @@\n  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for\n  * more details.\n  */\n+\n+#include <linux/errno.h>\n+#include <linux/io.h>\n #include <linux/kernel.h>\n #include <linux/module.h>\n #include <linux/pci.h>\n","prefixes":["v2","03/12"]}