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
7 -static const char *part_probes[] = { "cmdlinepart", NULL, };
8 +static const char *part_probes[] = { "cmdlinepart", "at91part", NULL, };
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
15 for your particular device. It won't happen automatically. The
16 'armflash' map driver (CONFIG_MTD_ARMFLASH) does this, for example.
18 +config MTD_AT91_PARTS
19 + tristate "Atmel AT91 partitioning support"
20 + depends on MTD_PARTITIONS && ARCH_AT91RM9200 && AT91_SPI
22 + Atmel AT91 partitioning support
24 comment "User Modules And Translation Layers"
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
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
35 # 'Users' - code which presents functionality to userspace.
36 obj-$(CONFIG_MTD_CHAR) += mtdchar.o