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 core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
mtd
/
maps
/
dbox2-flash.c
diff --git
a/drivers/mtd/maps/dbox2-flash.c
b/drivers/mtd/maps/dbox2-flash.c
index
49d9054
..
92a9c7f
100644
(file)
--- a/
drivers/mtd/maps/dbox2-flash.c
+++ b/
drivers/mtd/maps/dbox2-flash.c
@@
-12,7
+12,6
@@
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
-#include <linux/config.h>
#include <linux/errno.h>
/* partition_info gives details on the logical partitions that the split the
#include <linux/errno.h>
/* partition_info gives details on the logical partitions that the split the
@@
-57,7
+56,7
@@
static struct mtd_partition partition_info[]= {
}
};
}
};
-#define NUM_PARTITIONS
(sizeof(partition_info) / sizeof(partition_info[0])
)
+#define NUM_PARTITIONS
ARRAY_SIZE(partition_info
)
#define WINDOW_ADDR 0x10000000
#define WINDOW_SIZE 0x800000
#define WINDOW_ADDR 0x10000000
#define WINDOW_SIZE 0x800000
@@
-122,5
+121,5
@@
module_exit(cleanup_dbox2_flash);
MODULE_LICENSE("GPL");
MODULE_LICENSE("GPL");
-MODULE_AUTHOR("K
ári Davíð
sson <kd@flaga.is>, Bastian Blank <waldi@tuxbox.org>, Alexander Wild <wild@te-elektronik.com>");
+MODULE_AUTHOR("K
ári Davíð
sson <kd@flaga.is>, Bastian Blank <waldi@tuxbox.org>, Alexander Wild <wild@te-elektronik.com>");
MODULE_DESCRIPTION("MTD map driver for D-Box 2 board");
MODULE_DESCRIPTION("MTD map driver for D-Box 2 board");