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