aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@tglx.tec.linutronix.de>2005-07-04 19:03:06 -0400
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-07-04 19:03:06 -0400
commitf8eb321bee957b7464ae08839861a04cb0b51bbe (patch)
treeb21d0520af39674c9b5ea06e26fe9fd0fc07acac /drivers/mtd
parent3a7a882420d378b59542a048075e40428c771a12 (diff)
[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 e42eefbda0e1..c76c30de48fb 100644
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
@@ -17,7 +17,7 @@
17 * 17 *
18 * This code is GPL 18 * This code is GPL
19 * 19 *
20 * $Id: cfi_cmdset_0002.c,v 1.117 2005/06/06 23:04:35 tpoynor Exp $ 20 * $Id: cfi_cmdset_0002.c,v 1.118 2005/07/04 22:34:29 gleixner Exp $
21 * 21 *
22 */ 22 */
23 23
@@ -581,7 +581,7 @@ static void put_chip(struct map_info *map, struct flchip *chip, unsigned long ad
581 * didn't emit calls to its own support functions). Also configuring MTD CFI 581 * didn't emit calls to its own support functions). Also configuring MTD CFI
582 * support to a single buswidth and a single interleave is also recommended. 582 * support to a single buswidth and a single interleave is also recommended.
583 */ 583 */
584#include <asm/hardware.h> 584
585static void xip_disable(struct map_info *map, struct flchip *chip, 585static void xip_disable(struct map_info *map, struct flchip *chip,
586 unsigned long adr) 586 unsigned long adr)
587{ 587{