aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-gumstix-2.6.15/bugfix-mtd-onenand.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/linux-gumstix-2.6.15/bugfix-mtd-onenand.patch')
-rw-r--r--recipes/linux/linux-gumstix-2.6.15/bugfix-mtd-onenand.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/linux/linux-gumstix-2.6.15/bugfix-mtd-onenand.patch b/recipes/linux/linux-gumstix-2.6.15/bugfix-mtd-onenand.patch
new file mode 100644
index 0000000000..1b1662e963
--- /dev/null
+++ b/recipes/linux/linux-gumstix-2.6.15/bugfix-mtd-onenand.patch
@@ -0,0 +1,22 @@
+Index: linux-2.6.15gum/drivers/mtd/Kconfig
+===================================================================
+--- linux-2.6.15gum.orig/drivers/mtd/Kconfig
++++ linux-2.6.15gum/drivers/mtd/Kconfig
+@@ -271,7 +271,5 @@ source "drivers/mtd/devices/Kconfig"
+
+ source "drivers/mtd/nand/Kconfig"
+
+-source "drivers/mtd/onenand/Kconfig"
+-
+ endmenu
+
+Index: linux-2.6.15gum/drivers/mtd/Makefile
+===================================================================
+--- linux-2.6.15gum.orig/drivers/mtd/Makefile
++++ linux-2.6.15gum/drivers/mtd/Makefile
+@@ -25,4 +25,4 @@ obj-$(CONFIG_RFD_FTL) += rfd_ftl.o mtd_
+ nftl-objs := nftlcore.o nftlmount.o
+ inftl-objs := inftlcore.o inftlmount.o
+
+-obj-y += chips/ maps/ devices/ nand/ onenand/
++obj-y += chips/ maps/ devices/ nand/