From: Lucas Stach <l.stach@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 2/3] mtd: nand_denali: don't include arch header
Date: Wed, 14 Oct 2015 10:53:26 +0200 [thread overview]
Message-ID: <1444812807-2331-2-git-send-email-l.stach@pengutronix.de> (raw)
In-Reply-To: <1444812807-2331-1-git-send-email-l.stach@pengutronix.de>
It causes build failures on other arches than socfpga and the driver
doesn't use anything provided by this header.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
drivers/mtd/nand/nand_denali.c | 1 -
drivers/mtd/nand/nand_denali_dt.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/mtd/nand/nand_denali.c b/drivers/mtd/nand/nand_denali.c
index d2e51e2568dc..bf9a05d85264 100644
--- a/drivers/mtd/nand/nand_denali.c
+++ b/drivers/mtd/nand/nand_denali.c
@@ -24,7 +24,6 @@
#include <init.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
-#include <mach/generic.h>
#include <io.h>
#include <of_mtd.h>
#include <errno.h>
diff --git a/drivers/mtd/nand/nand_denali_dt.c b/drivers/mtd/nand/nand_denali_dt.c
index 09eb110c870a..6a3aee1415e9 100644
--- a/drivers/mtd/nand/nand_denali_dt.c
+++ b/drivers/mtd/nand/nand_denali_dt.c
@@ -19,7 +19,6 @@
#include <init.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/nand.h>
-#include <mach/generic.h>
#include <io.h>
#include <of_mtd.h>
#include <errno.h>
--
2.6.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2015-10-14 8:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-14 8:53 [PATCH 1/3] input: usb-kbd: depend on CONSOLE_FULL Lucas Stach
2015-10-14 8:53 ` Lucas Stach [this message]
2015-10-14 8:53 ` [PATCH 3/3] video: simple-panel: depend on OFDEVICE Lucas Stach
2015-10-14 13:33 ` [PATCH 1/3] input: usb-kbd: depend on CONSOLE_FULL Sascha Hauer
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=1444812807-2331-2-git-send-email-l.stach@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox