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
Merge to kernel-2.6.20-1.2949.fc6.vs2.2.0.1
[linux-2.6.git]
/
drivers
/
mtd
/
maps
/
h720x-flash.c
diff --git
a/drivers/mtd/maps/h720x-flash.c
b/drivers/mtd/maps/h720x-flash.c
index
3190948
..
6dde318
100644
(file)
--- a/
drivers/mtd/maps/h720x-flash.c
+++ b/
drivers/mtd/maps/h720x-flash.c
@@
-8,7
+8,6
@@
* 2003 Thomas Gleixner <tglx@linutronix.de>
*/
* 2003 Thomas Gleixner <tglx@linutronix.de>
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
@@
-59,7
+58,7
@@
static struct mtd_partition h720x_partitions[] = {
}
};
}
};
-#define NUM_PARTITIONS
(sizeof(h720x_partitions)/sizeof(h720x_partitions[0])
)
+#define NUM_PARTITIONS
ARRAY_SIZE(h720x_partitions
)
static int nr_mtd_parts;
static struct mtd_partition *mtd_parts;
static int nr_mtd_parts;
static struct mtd_partition *mtd_parts;