aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath25/patches-5.4
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath25/patches-5.4')
-rw-r--r--target/linux/ath25/patches-5.4/120-spiflash.patch5
1 files changed, 1 insertions, 4 deletions
diff --git a/target/linux/ath25/patches-5.4/120-spiflash.patch b/target/linux/ath25/patches-5.4/120-spiflash.patch
index d49669b976..52460f89dd 100644
--- a/target/linux/ath25/patches-5.4/120-spiflash.patch
+++ b/target/linux/ath25/patches-5.4/120-spiflash.patch
@@ -23,7 +23,7 @@
obj-$(CONFIG_MTD_POWERNV_FLASH) += powernv_flash.o
--- /dev/null
+++ b/drivers/mtd/devices/ar2315.c
-@@ -0,0 +1,459 @@
+@@ -0,0 +1,456 @@
+
+/*
+ * MTD driver for the SPI Flash Memory support on Atheros AR2315
@@ -284,9 +284,6 @@
+
+ mutex_unlock(&priv->lock);
+
-+ instr->state = MTD_ERASE_DONE;
-+ mtd_erase_callback(instr);
-+
+ return 0;
+}
+