aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@infradead.org>2004-08-10 18:13:52 +0100
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>2004-08-10 18:13:52 +0100
commitbe3a60978fdb757ff8fab31b8c43a09a156b092c (patch)
tree91a2f828c59227340ae67e39717c002da67df01f /include
parent938cfd03d82977272c69b14035bb20eac6e0999b (diff)
downloadhistory-be3a60978fdb757ff8fab31b8c43a09a156b092c.tar.gz
Restore physmap configure-time settings according to user requests.
Patch from Jun Sun. Signed-Off-By: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/physmap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mtd/physmap.h b/include/linux/mtd/physmap.h
index d522d43d410d11..05aa4970677f6a 100644
--- a/include/linux/mtd/physmap.h
+++ b/include/linux/mtd/physmap.h
@@ -2,7 +2,7 @@
* For boards with physically mapped flash and using
* drivers/mtd/maps/physmap.c mapping driver.
*
- * $Id: physmap.h,v 1.2 2004/07/14 17:48:46 dwmw2 Exp $
+ * $Id: physmap.h,v 1.3 2004/07/21 00:16:15 jwboyer Exp $
*
* Copyright (C) 2003 MontaVista Software Inc.
* Author: Jun Sun, jsun@mvista.com or jsun@junsun.net
@@ -33,11 +33,11 @@ extern struct map_info physmap_map;
/*
* Board needs to specify the exact mapping during their setup time.
*/
-static inline void physmap_configure(unsigned long addr, unsigned long size, int buswidth, void (*set_vpp)(struct map_info *, int) )
+static inline void physmap_configure(unsigned long addr, unsigned long size, int bankwidth, void (*set_vpp)(struct map_info *, int) )
{
physmap_map.phys = addr;
physmap_map.size = size;
- physmap_map.buswidth = buswidth;
+ physmap_map.bankwidth = bankwidth;
physmap_map.set_vpp = set_vpp;
}