[kernel] fix ipset compile error on 2.6.27
[openwrt.git] / target / linux / at91 / patches-2.6.21 / 014-initpartition.patch
1 Index: linux-2.6.21.7/drivers/mtd/devices/at91_dataflash.c
2 ===================================================================
3 --- linux-2.6.21.7.orig/drivers/mtd/devices/at91_dataflash.c
4 +++ linux-2.6.21.7/drivers/mtd/devices/at91_dataflash.c
5 @@ -161,12 +161,12 @@ static struct mtd_partition static_parti
6 .mask_flags = MTD_WRITEABLE, /* read-only */
7 },
8 {
9 - .name = "kernel",
10 + .name = "knlroot",
11 .offset = MTDPART_OFS_NXTBLK,
12 - .size = 5 * 32 * 8 * 1056, /* 5 sectors */
13 + .size = 0x320400, /* 5 sectors */
14 },
15 {
16 - .name = "filesystem",
17 + .name = "jffs2",
18 .offset = MTDPART_OFS_NXTBLK,
19 .size = MTDPART_SIZ_FULL, /* rest = 26 sectors */
20 }
This page took 0.03929 seconds and 5 git commands to generate.