ath79: add support for kernel 5.4
[openwrt/staging/stintel.git] / target / linux / ath79 / patches-5.4 / 405-mtd-tp-link-partition-parser.patch
1 --- a/drivers/mtd/Kconfig
2 +++ b/drivers/mtd/Kconfig
3 @@ -62,6 +62,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 @@ -8,6 +8,7 @@ obj-$(CONFIG_MTD) += mtd.o
19 mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o
20
21 obj-y += parsers/
22 +obj-$(CONFIG_MTD_TPLINK_PARTS) += tplinkpart.o
23
24 # 'Users' - code which presents functionality to userspace.
25 obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o