summaryrefslogtreecommitdiff
path: root/target/mips/mikrotik-rb4xx/patches/3.14.28/0004-drivers-link-SPI-drivers-before-MTD-drivers.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-01-10 05:50:27 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-10 05:50:47 -0600
commita30f7fe5d730525af5daa6801f0b4d2f29025bd1 (patch)
treeb2feee892c26d6f9231e563884177e5949d11ce5 /target/mips/mikrotik-rb4xx/patches/3.14.28/0004-drivers-link-SPI-drivers-before-MTD-drivers.patch
parent8a4015ce6cebd7a83eae1207fe3b3ed8163526fc (diff)
update to latest 3.14 kernel
Diffstat (limited to 'target/mips/mikrotik-rb4xx/patches/3.14.28/0004-drivers-link-SPI-drivers-before-MTD-drivers.patch')
-rw-r--r--target/mips/mikrotik-rb4xx/patches/3.14.28/0004-drivers-link-SPI-drivers-before-MTD-drivers.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/mips/mikrotik-rb4xx/patches/3.14.28/0004-drivers-link-SPI-drivers-before-MTD-drivers.patch b/target/mips/mikrotik-rb4xx/patches/3.14.28/0004-drivers-link-SPI-drivers-before-MTD-drivers.patch
new file mode 100644
index 000000000..824d6ebec
--- /dev/null
+++ b/target/mips/mikrotik-rb4xx/patches/3.14.28/0004-drivers-link-SPI-drivers-before-MTD-drivers.patch
@@ -0,0 +1,27 @@
+From 3c367cc533d07353f60110340c110f6d622094b8 Mon Sep 17 00:00:00 2001
+From: Phil Sutter <phil@nwl.cc>
+Date: Tue, 13 May 2014 00:14:15 +0200
+Subject: [PATCH] drivers: link SPI drivers before MTD drivers
+
+This prevents probe deferral in SPI-driven MTD drivers.
+---
+ drivers/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/Makefile b/drivers/Makefile
+index 8e3b8b0..61bbeb2 100644
+--- a/drivers/Makefile
++++ b/drivers/Makefile
+@@ -64,8 +64,8 @@ obj-$(CONFIG_IDE) += ide/
+ obj-$(CONFIG_SCSI) += scsi/
+ obj-$(CONFIG_ATA) += ata/
+ obj-$(CONFIG_TARGET_CORE) += target/
+-obj-$(CONFIG_MTD) += mtd/
+ obj-$(CONFIG_SPI) += spi/
++obj-$(CONFIG_MTD) += mtd/
+ obj-y += hsi/
+ obj-y += net/
+ obj-$(CONFIG_ATM) += atm/
+--
+1.8.5.3
+