[openwrt/openwrt] ath79: remove SPI driver link order hack
LEDE Commits
lede-commits at lists.infradead.org
Sun Jun 23 12:04:31 PDT 2024
nick pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/354690ebc96807e7465f8911dc591f8a4678ac89
commit 354690ebc96807e7465f8911dc591f8a4678ac89
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Sat Jun 22 14:58:56 2024 +0000
ath79: remove SPI driver link order hack
This hack is used to make sure that the mfd device starts before the
mtd driver[1]. Now the linux driver framework "struct spi_driver {}"
can always ensure this.
[1] 47f8fd1dde5d ("ar71xx: rewrite SPI drivers for the RB4xx boards")
Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
---
.../420-drivers-link-spi-before-mtd.patch | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/target/linux/ath79/patches-6.6/420-drivers-link-spi-before-mtd.patch b/target/linux/ath79/patches-6.6/420-drivers-link-spi-before-mtd.patch
deleted file mode 100644
index 2e9d3c3e94..0000000000
--- a/target/linux/ath79/patches-6.6/420-drivers-link-spi-before-mtd.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-From: Gabor Juhos <juhosg at openwrt.org>
-Subject: [PATCH] ar71xx: Link SPI before MTD
-
-SVN-Revision: 22863
----
- drivers/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/drivers/Makefile
-+++ b/drivers/Makefile
-@@ -87,8 +87,8 @@ obj-y += scsi/
- obj-y += nvme/
- obj-$(CONFIG_ATA) += ata/
- obj-$(CONFIG_TARGET_CORE) += target/
--obj-$(CONFIG_MTD) += mtd/
- obj-$(CONFIG_SPI) += spi/
-+obj-$(CONFIG_MTD) += mtd/
- obj-$(CONFIG_SPMI) += spmi/
- obj-$(CONFIG_HSI) += hsi/
- obj-$(CONFIG_SLIMBUS) += slimbus/
More information about the lede-commits
mailing list