fonera-mp3: fix json-c dependency here as well
[openwrt.git] / target / linux / at91-2.6 / patches-2.6.21 / 007-mtd-partition.patch
1 --- linux-2.6.21.1.orig/drivers/mtd/devices/at91_dataflash.c 2007-05-28 12:22:29.000000000 +0200
2 +++ linux-2.6.21.1/drivers/mtd/devices/at91_dataflash.c 2007-05-28 16:10:21.000000000 +0200
3 @@ -173,7 +173,7 @@
4 };
5 #endif
6
7 -static const char *part_probes[] = { "cmdlinepart", NULL, };
8 +static const char *part_probes[] = { "cmdlinepart", "at91part", NULL, };
9
10 #endif
11
12 --- linux-2.6.21.1.orig/drivers/mtd/Kconfig 2007-05-28 12:22:09.000000000 +0200
13 +++ linux-2.6.21.1/drivers/mtd/Kconfig 2007-05-28 16:09:16.000000000 +0200
14 @@ -157,6 +157,12 @@
15 for your particular device. It won't happen automatically. The
16 'armflash' map driver (CONFIG_MTD_ARMFLASH) does this, for example.
17
18 +config MTD_AT91_PARTS
19 + tristate "Atmel AT91 partitioning support"
20 + depends on MTD_PARTITIONS && ARCH_AT91RM9200 && AT91_SPI
21 + ---help---
22 + Atmel AT91 partitioning support
23 +
24 comment "User Modules And Translation Layers"
25 depends on MTD
26
27 --- linux-2.6.21.1.orig/drivers/mtd/Makefile 2007-04-27 23:49:26.000000000 +0200
28 +++ linux-2.6.21.1/drivers/mtd/Makefile 2007-05-28 16:09:55.000000000 +0200
29 @@ -12,6 +12,7 @@
30 obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
31 obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
32 obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
33 +obj-$(CONFIG_MTD_AT91_PARTS) += at91part.o
34
35 # 'Users' - code which presents functionality to userspace.
36 obj-$(CONFIG_MTD_CHAR) += mtdchar.o
This page took 0.044105 seconds and 5 git commands to generate.