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
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
mtd
/
maps
/
beech-mtd.c
diff --git
a/drivers/mtd/maps/beech-mtd.c
b/drivers/mtd/maps/beech-mtd.c
index
61e2197
..
5df7361
100644
(file)
--- a/
drivers/mtd/maps/beech-mtd.c
+++ b/
drivers/mtd/maps/beech-mtd.c
@@
-1,7
+1,7
@@
/*
/*
- * $Id: beech-mtd.c,v 1.
7 2003/05/21 12:45:18 dwmw2
Exp $
- *
- * drivers/mtd/maps/beech-mtd.c MTD mappings and partition tables for
+ * $Id: beech-mtd.c,v 1.
11 2005/11/07 11:14:26 gleixner
Exp $
+ *
+ * drivers/mtd/maps/beech-mtd.c MTD mappings and partition tables for
* IBM 405LP Beech boards.
*
* This program is free software; you can redistribute it and/or modify
* IBM 405LP Beech boards.
*
* This program is free software; you can redistribute it and/or modify
@@
-51,7
+51,7
@@
static struct map_info beech_mtd_map = {
.name = NAME,
.size = SIZE,
static struct map_info beech_mtd_map = {
.name = NAME,
.size = SIZE,
- .b
uswidth =
BUSWIDTH,
+ .b
ankwidth =
BUSWIDTH,
.phys = PADDR
};
.phys = PADDR
};
@@
-74,7
+74,7
@@
init_beech_mtd(void)
{
printk("%s: 0x%08x at 0x%08x\n", NAME, SIZE, PADDR);
{
printk("%s: 0x%08x at 0x%08x\n", NAME, SIZE, PADDR);
- beech_mtd_map.virt =
(unsigned long)
ioremap(PADDR, SIZE);
+ beech_mtd_map.virt = ioremap(PADDR, SIZE);
if (!beech_mtd_map.virt) {
printk("%s: failed to ioremap 0x%x\n", NAME, PADDR);
if (!beech_mtd_map.virt) {
printk("%s: failed to ioremap 0x%x\n", NAME, PADDR);