summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@tglx.tec.linutronix.de>2005-07-05 01:03:06 +0200
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-07-05 01:03:06 +0200
commitf8eb321bee957b7464ae08839861a04cb0b51bbe (patch)
treeb21d0520af39674c9b5ea06e26fe9fd0fc07acac /drivers/mtd
parent3a7a882420d378b59542a048075e40428c771a12 (diff)
downloadop-kernel-dev-f8eb321bee957b7464ae08839861a04cb0b51bbe.zip
op-kernel-dev-f8eb321bee957b7464ae08839861a04cb0b51bbe.tar.gz
[MTD] cfi_cmdset_0002: Remove bogus include
Including asm/hardware.h has to be done in linux/mtd/xip.h. Otherwise it breaks allyes compiles. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/chips/cfi_cmdset_0002.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c
index e42eefb..c76c30d 100644
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
@@ -17,7 +17,7 @@
*
* This code is GPL
*
- * $Id: cfi_cmdset_0002.c,v 1.117 2005/06/06 23:04:35 tpoynor Exp $
+ * $Id: cfi_cmdset_0002.c,v 1.118 2005/07/04 22:34:29 gleixner Exp $
*
*/
@@ -581,7 +581,7 @@ static void put_chip(struct map_info *map, struct flchip *chip, unsigned long ad
* didn't emit calls to its own support functions). Also configuring MTD CFI
* support to a single buswidth and a single interleave is also recommended.
*/
-#include <asm/hardware.h>
+
static void xip_disable(struct map_info *map, struct flchip *chip,
unsigned long adr)
{
OpenPOWER on IntegriCloud