X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/04aff2e833edde651fb7b4792439d9e05fbfaee2..5a76cd437c8b0271c03ade8ad07335b2e8f590a3:/target/linux/atheros/patches-2.6.30/120-spiflash.patch?ds=sidebyside diff --git a/target/linux/atheros/patches-2.6.30/120-spiflash.patch b/target/linux/atheros/patches-2.6.30/120-spiflash.patch index 74f01f652..e63206007 100644 --- a/target/linux/atheros/patches-2.6.30/120-spiflash.patch +++ b/target/linux/atheros/patches-2.6.30/120-spiflash.patch @@ -20,7 +20,7 @@ +obj-$(CONFIG_MTD_AR2315) += ar2315.o --- /dev/null +++ b/drivers/mtd/devices/ar2315.c -@@ -0,0 +1,518 @@ +@@ -0,0 +1,517 @@ + +/* + * MTD driver for the SPI Flash Memory support on Atheros AR2315 @@ -323,8 +323,7 @@ + spiflash_wait_complete(priv, 20); + + instr->state = MTD_ERASE_DONE; -+ if (instr->callback) -+ instr->callback(instr); ++ mtd_erase_callback(instr); + + return 0; +}