8551fa2d5dd173e6a2b6f03e6598e58d99731a44
[openwrt/openwrt.git] / target / linux / ar71xx / patches-3.10 / 405-mtd-tp-link-partition-parser.patch
1 --- a/drivers/mtd/Kconfig
2 +++ b/drivers/mtd/Kconfig
3 @@ -210,7 +210,7 @@ config MTD_BCM47XX_PARTS
4
5 config MTD_WRT160NL_PARTS
6 tristate "Linksys WRT160NL partitioning support"
7 - depends on MTD_PARTITIONS && ATH79_MACH_WRT160NL
8 + depends on ATH79_MACH_WRT160NL
9 ---help---
10 Linksys WRT160NL partitioning support
11
12 @@ -230,6 +230,12 @@ config MTD_MYLOADER_PARTS
13 You will still need the parsing functions to be called by the driver
14 for your particular device. It won't happen automatically.
15
16 +config MTD_TPLINK_PARTS
17 + tristate "TP-Link AR7XXX/AR9XXX partitioning support"
18 + depends on ATH79
19 + ---help---
20 + TBD.
21 +
22 comment "User Modules And Translation Layers"
23
24 config MTD_BLKDEVS
25 --- a/drivers/mtd/Makefile
26 +++ b/drivers/mtd/Makefile
27 @@ -19,6 +19,7 @@ obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o
28 obj-$(CONFIG_MTD_BCM63XX_PARTS) += bcm63xxpart.o
29 obj-$(CONFIG_MTD_BCM47XX_PARTS) += bcm47xxpart.o
30 obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o
31 +obj-$(CONFIG_MTD_TPLINK_PARTS) += tplinkpart.o
32 obj-$(CONFIG_MTD_WRT160NL_PARTS) += wrt160nl_part.o
33
34 # 'Users' - code which presents functionality to userspace.