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
/
ts5500_flash.c
diff --git
a/drivers/mtd/maps/ts5500_flash.c
b/drivers/mtd/maps/ts5500_flash.c
index
4b372bc
..
b47270e
100644
(file)
--- a/
drivers/mtd/maps/ts5500_flash.c
+++ b/
drivers/mtd/maps/ts5500_flash.c
@@
-26,7
+26,6
@@
* $Id: ts5500_flash.c,v 1.5 2005/11/07 11:14:28 gleixner Exp $
*/
* $Id: ts5500_flash.c,v 1.5 2005/11/07 11:14:28 gleixner Exp $
*/
-#include <linux/config.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
@@
-64,7
+63,7
@@
static struct mtd_partition ts5500_partitions[] = {
}
};
}
};
-#define NUM_PARTITIONS
(sizeof(ts5500_partitions)/sizeof(struct mtd_partition)
)
+#define NUM_PARTITIONS
ARRAY_SIZE(ts5500_partitions
)
static struct mtd_info *mymtd;
static struct mtd_info *mymtd;