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
/
uclinux.c
diff --git
a/drivers/mtd/maps/uclinux.c
b/drivers/mtd/maps/uclinux.c
index
f7264dc
..
79d9280
100644
(file)
--- a/
drivers/mtd/maps/uclinux.c
+++ b/
drivers/mtd/maps/uclinux.c
@@
-37,7
+37,7
@@
struct mtd_partition uclinux_romfs[] = {
{ .name = "ROMfs" }
};
-#define NUM_PARTITIONS
ARRAY_SIZE(uclinux_romfs
)
+#define NUM_PARTITIONS
(sizeof(uclinux_romfs) / sizeof(uclinux_romfs[0])
)
/****************************************************************************/