git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
mtd
/
maps
/
ebony.c
diff --git
a/drivers/mtd/maps/ebony.c
b/drivers/mtd/maps/ebony.c
index
00e87e2
..
7add7b8
100644
(file)
--- a/
drivers/mtd/maps/ebony.c
+++ b/
drivers/mtd/maps/ebony.c
@@
-1,5
+1,5
@@
/*
/*
- * $Id: ebony.c,v 1.
8 2003/06/23 11:48:18
dwmw2 Exp $
+ * $Id: ebony.c,v 1.
10 2004/07/12 21:59:44
dwmw2 Exp $
*
* Mapping for Ebony user flash
*
*
* Mapping for Ebony user flash
*
@@
-22,7
+22,7
@@
#include <linux/mtd/partitions.h>
#include <linux/config.h>
#include <asm/io.h>
#include <linux/mtd/partitions.h>
#include <linux/config.h>
#include <asm/io.h>
-#include <asm/ibm44
0
.h>
+#include <asm/ibm44
x
.h>
#include <platforms/ebony.h>
static struct mtd_info *flash;
#include <platforms/ebony.h>
static struct mtd_info *flash;
@@
-30,13
+30,13
@@
static struct mtd_info *flash;
static struct map_info ebony_small_map = {
.name = "Ebony small flash",
.size = EBONY_SMALL_FLASH_SIZE,
static struct map_info ebony_small_map = {
.name = "Ebony small flash",
.size = EBONY_SMALL_FLASH_SIZE,
- .b
uswidth =
1,
+ .b
ankwidth =
1,
};
static struct map_info ebony_large_map = {
.name = "Ebony large flash",
.size = EBONY_LARGE_FLASH_SIZE,
};
static struct map_info ebony_large_map = {
.name = "Ebony large flash",
.size = EBONY_LARGE_FLASH_SIZE,
- .b
uswidth =
1,
+ .b
ankwidth =
1,
};
static struct mtd_partition ebony_small_partitions[] = {
};
static struct mtd_partition ebony_small_partitions[] = {
@@
-71,7
+71,7
@@
int __init init_ebony(void)
return -ENOMEM;
fpga0_reg = readb(fpga0_adr);
return -ENOMEM;
fpga0_reg = readb(fpga0_adr);
- iounmap
64
(fpga0_adr);
+ iounmap(fpga0_adr);
if (EBONY_BOOT_SMALL_FLASH(fpga0_reg) &&
!EBONY_FLASH_SEL(fpga0_reg))
if (EBONY_BOOT_SMALL_FLASH(fpga0_reg) &&
!EBONY_FLASH_SEL(fpga0_reg))