1
0

0004-drivers-link-SPI-drivers-before-MTD-drivers.patch 764 B

123456789101112131415161718192021222324252627
  1. From 3c367cc533d07353f60110340c110f6d622094b8 Mon Sep 17 00:00:00 2001
  2. From: Phil Sutter <phil@nwl.cc>
  3. Date: Tue, 13 May 2014 00:14:15 +0200
  4. Subject: [PATCH] drivers: link SPI drivers before MTD drivers
  5. This prevents probe deferral in SPI-driven MTD drivers.
  6. ---
  7. drivers/Makefile | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/drivers/Makefile b/drivers/Makefile
  10. index 8e3b8b0..61bbeb2 100644
  11. --- a/drivers/Makefile
  12. +++ b/drivers/Makefile
  13. @@ -64,8 +64,8 @@ obj-$(CONFIG_IDE) += ide/
  14. obj-$(CONFIG_SCSI) += scsi/
  15. obj-$(CONFIG_ATA) += ata/
  16. obj-$(CONFIG_TARGET_CORE) += target/
  17. -obj-$(CONFIG_MTD) += mtd/
  18. obj-$(CONFIG_SPI) += spi/
  19. +obj-$(CONFIG_MTD) += mtd/
  20. obj-y += hsi/
  21. obj-y += net/
  22. obj-$(CONFIG_ATM) += atm/
  23. --
  24. 1.8.5.3