mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
1e1c0a5405
Should fix #11513. Tested with the x86/generic squashfs image within a VM. SVN-Revision: 31841
11 lines
364 B
Diff
11 lines
364 B
Diff
--- a/drivers/mtd/devices/block2mtd.c
|
|
+++ b/drivers/mtd/devices/block2mtd.c
|
|
@@ -388,7 +388,6 @@ static struct block2mtd_dev *add_device(
|
|
dev->mtd.flags = MTD_CAP_RAM;
|
|
dev->mtd.erase = block2mtd_erase;
|
|
dev->mtd.write = block2mtd_write;
|
|
- dev->mtd.writev = mtd_writev;
|
|
dev->mtd.sync = block2mtd_sync;
|
|
dev->mtd.read = block2mtd_read;
|
|
dev->mtd.priv = dev;
|