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
linux 2.6.16.38 w/ vs2.0.3-rc1
[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
a7422c2
..
4b372bc
100644
(file)
--- a/
drivers/mtd/maps/ts5500_flash.c
+++ b/
drivers/mtd/maps/ts5500_flash.c
@@
-64,7
+64,7
@@
static struct mtd_partition ts5500_partitions[] = {
}
};
}
};
-#define NUM_PARTITIONS
ARRAY_SIZE(ts5500_partitions
)
+#define NUM_PARTITIONS
(sizeof(ts5500_partitions)/sizeof(struct mtd_partition)
)
static struct mtd_info *mymtd;
static struct mtd_info *mymtd;