diff options
Diffstat (limited to 'arch/mips/vr41xx')
-rw-r--r-- | arch/mips/vr41xx/nec-cmbvr4133/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/vr41xx/nec-cmbvr4133/setup.c b/arch/mips/vr41xx/nec-cmbvr4133/setup.c index 58e47686b499..f14bea8daf90 100644 --- a/arch/mips/vr41xx/nec-cmbvr4133/setup.c +++ b/arch/mips/vr41xx/nec-cmbvr4133/setup.c | |||
@@ -50,7 +50,7 @@ static struct mtd_partition cmbvr4133_mtd_parts[] = { | |||
50 | } | 50 | } |
51 | }; | 51 | }; |
52 | 52 | ||
53 | #define number_partitions (sizeof(cmbvr4133_mtd_parts)/sizeof(struct mtd_partition)) | 53 | #define number_partitions ARRAY_SIZE(cmbvr4133_mtd_parts) |
54 | #endif | 54 | #endif |
55 | 55 | ||
56 | extern void i8259_init(void); | 56 | extern void i8259_init(void); |