strip the kernel version suffix from target directories, except for brcm-2.4 (the...
[openwrt/staging/wigyori.git] / target / linux / adm5120 / patches-2.6.22 / 002-adm5120_flash.patch
1 Index: linux-2.6.22.1/drivers/mtd/maps/Kconfig
2 ===================================================================
3 --- linux-2.6.22.1.orig/drivers/mtd/maps/Kconfig
4 +++ linux-2.6.22.1/drivers/mtd/maps/Kconfig
5 @@ -620,5 +620,9 @@ config MTD_PLATRAM
6
7 This selection automatically selects the map_ram driver.
8
9 +config MTD_ADM5120
10 + tristate "Map driver for ADM5120 based boards"
11 + depends on MIPS_ADM5120
12 +
13 endmenu
14
15 Index: linux-2.6.22.1/drivers/mtd/maps/Makefile
16 ===================================================================
17 --- linux-2.6.22.1.orig/drivers/mtd/maps/Makefile
18 +++ linux-2.6.22.1/drivers/mtd/maps/Makefile
19 @@ -47,6 +47,7 @@ obj-$(CONFIG_MTD_OCELOT) += ocelot.o
20 obj-$(CONFIG_MTD_SOLUTIONENGINE)+= solutionengine.o
21 obj-$(CONFIG_MTD_PCI) += pci.o
22 obj-$(CONFIG_MTD_ALCHEMY) += alchemy-flash.o
23 +obj-$(CONFIG_MTD_ADM5120) += adm5120-flash.o
24 obj-$(CONFIG_MTD_LASAT) += lasat.o
25 obj-$(CONFIG_MTD_AUTCPU12) += autcpu12-nvram.o
26 obj-$(CONFIG_MTD_EDB7312) += edb7312.o