ar71xx: add support for linux 4.4
[openwrt.git] / target / linux / ar71xx / patches-4.4 / 405-mtd-tp-link-partition-parser.patch
1 --- a/drivers/mtd/Kconfig
2 +++ b/drivers/mtd/Kconfig
3 @@ -196,6 +196,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_CYBERTAN_PARTS) += cybertan_part.o
24  
25  # 'Users' - code which presents functionality to userspace.