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
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
drivers
/
mtd
/
maps
/
pnc2000.c
diff --git
a/drivers/mtd/maps/pnc2000.c
b/drivers/mtd/maps/pnc2000.c
index
a0f43da
..
b204786
100644
(file)
--- a/
drivers/mtd/maps/pnc2000.c
+++ b/
drivers/mtd/maps/pnc2000.c
@@
-5,7
+5,7
@@
*
* This code is GPL
*
*
* This code is GPL
*
- * $Id: pnc2000.c,v 1.1
7 2004/11/16 18:29:02
dwmw2 Exp $
+ * $Id: pnc2000.c,v 1.1
5 2004/07/12 21:59:44
dwmw2 Exp $
*/
#include <linux/module.h>
*/
#include <linux/module.h>
@@
-26,12
+26,12
@@
*/
*/
-st
atic st
ruct map_info pnc_map = {
+struct map_info pnc_map = {
.name = "PNC-2000",
.size = WINDOW_SIZE,
.bankwidth = 4,
.phys = 0xFFFFFFFF,
.name = "PNC-2000",
.size = WINDOW_SIZE,
.bankwidth = 4,
.phys = 0xFFFFFFFF,
- .virt =
(void __iomem *)
WINDOW_ADDR,
+ .virt = WINDOW_ADDR,
};
};
@@
-62,7
+62,7
@@
static struct mtd_partition pnc_partitions[3] = {
*/
static struct mtd_info *mymtd;
*/
static struct mtd_info *mymtd;
-
static
int __init init_pnc2000(void)
+int __init init_pnc2000(void)
{
printk(KERN_NOTICE "Photron PNC-2000 flash mapping: %x at %x\n", WINDOW_SIZE, WINDOW_ADDR);
{
printk(KERN_NOTICE "Photron PNC-2000 flash mapping: %x at %x\n", WINDOW_SIZE, WINDOW_ADDR);