1 --- a/drivers/mtd/devices/at91_dataflash.c
2 +++ b/drivers/mtd/devices/at91_dataflash.c
7 -static const char *part_probes[] = { "cmdlinepart", NULL, };
8 +static const char *part_probes[] = { "cmdlinepart", "at91part", NULL, };
12 --- a/drivers/mtd/Kconfig
13 +++ b/drivers/mtd/Kconfig
15 the partition map from the children of the flash node,
16 as described in Documentation/powerpc/booting-without-of.txt.
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 --- a/drivers/mtd/Makefile
28 +++ b/drivers/mtd/Makefile
30 obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
31 obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
32 obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o
33 +obj-$(CONFIG_MTD_AT91_PARTS) += at91part.o
35 # 'Users' - code which presents functionality to userspace.
36 obj-$(CONFIG_MTD_CHAR) += mtdchar.o