All of lore.kernel.org
 help / color / mirror / Atom feed
From: Boris Brezillon <boris.brezillon@bootlin.com>
To: Boris Brezillon <boris.brezillon@bootlin.com>,
	Richard Weinberger <richard@nod.at>,
	Miquel Raynal <miquel.raynal@bootlin.com>,
	linux-mtd@lists.infradead.org
Cc: David Woodhouse <dwmw2@infradead.org>,
	Brian Norris <computersforpeace@gmail.com>,
	Marek Vasut <marek.vasut@gmail.com>,
	Arnd Bergmann <arnd@arndb.de>
Subject: [PATCH v3 2/4] mtd: rawnand: orion: Avoid direct inclusion of asm headers
Date: Wed, 18 Jul 2018 10:56:50 +0200	[thread overview]
Message-ID: <20180718085652.30391-3-boris.brezillon@bootlin.com> (raw)
In-Reply-To: <20180718085652.30391-1-boris.brezillon@bootlin.com>

Include linux/sizes.h instead of asm/sizes.h to make code completely
arch independent.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
---
 drivers/mtd/nand/raw/orion_nand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/raw/orion_nand.c b/drivers/mtd/nand/raw/orion_nand.c
index 1a4828442675..27cc902545f3 100644
--- a/drivers/mtd/nand/raw/orion_nand.c
+++ b/drivers/mtd/nand/raw/orion_nand.c
@@ -18,7 +18,7 @@
 #include <linux/clk.h>
 #include <linux/err.h>
 #include <linux/io.h>
-#include <asm/sizes.h>
+#include <linux/sizes.h>
 #include <linux/platform_data/mtd-orion_nand.h>
 
 struct orion_nand_info {
-- 
2.14.1

  parent reply	other threads:[~2018-07-18  8:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-18  8:56 [PATCH v3 0/4] mtd: rawnand: Improve compile-test coverage Boris Brezillon
2018-07-18  8:56 ` [PATCH v3 1/4] mtd: rawnand: s3c2410: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-18  8:56 ` Boris Brezillon [this message]
2018-07-18  8:56 ` [PATCH v3 3/4] mtd: rawnand: orion: Handle cases where __LINUX_ARM_ARCH__ is not defined Boris Brezillon
2018-07-18  8:56 ` [PATCH v3 4/4] mtd: rawnand: orion: Allow selection of this driver when COMPILE_TEST=y Boris Brezillon
2018-07-18 21:40 ` [PATCH v3 0/4] mtd: rawnand: Improve compile-test coverage Miquel Raynal
2018-08-01  8:35   ` Miquel Raynal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180718085652.30391-3-boris.brezillon@bootlin.com \
    --to=boris.brezillon@bootlin.com \
    --cc=arnd@arndb.de \
    --cc=computersforpeace@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=marek.vasut@gmail.com \
    --cc=miquel.raynal@bootlin.com \
    --cc=richard@nod.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.