ar71xx: add support for 3.8
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.8 / 404-mtd-wrt160nl-trx-parser.patch
1 --- a/drivers/mtd/Kconfig
2 +++ b/drivers/mtd/Kconfig
3 @@ -163,6 +163,12 @@ config MTD_BCM47XX_PARTS
4 This provides partitions parser for devices based on BCM47xx
5 boards.
6
7 +config MTD_WRT160NL_PARTS
8 + tristate "Linksys WRT160NL partitioning support"
9 + depends on MTD_PARTITIONS && ATH79_MACH_WRT160NL
10 + ---help---
11 + Linksys WRT160NL partitioning support
12 +
13 config MTD_MYLOADER_PARTS
14 tristate "MyLoader partition parsing"
15 depends on ADM5120 || ATHEROS_AR231X || ATHEROS_AR71XX || ATH79
16 --- a/drivers/mtd/Makefile
17 +++ b/drivers/mtd/Makefile
18 @@ -14,6 +14,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_WRT160NL_PARTS) += wrt160nl_part.o
23
24 # 'Users' - code which presents functionality to userspace.
25 obj-$(CONFIG_MTD_CHAR) += mtdchar.o