X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e1ee35b052206f8880a3cc843d17a22f68fb5ff2..f385abf518de49b2db10d2d1c756deff3f65eec2:/target/linux/generic-2.6/patches-2.6.26/065-rootfs_split.patch diff --git a/target/linux/generic-2.6/patches-2.6.26/065-rootfs_split.patch b/target/linux/generic-2.6/patches-2.6.26/065-rootfs_split.patch index 069b24399..c619cdad2 100644 --- a/target/linux/generic-2.6/patches-2.6.26/065-rootfs_split.patch +++ b/target/linux/generic-2.6/patches-2.6.26/065-rootfs_split.patch @@ -866,7 +866,7 @@ dev->mtd.priv = dev; dev->mtd.owner = THIS_MODULE; + dev->mtd.refresh_device = block2mtd_refresh; - + part = kzalloc(sizeof(struct mtd_partition), GFP_KERNEL); part->name = dev->mtd.name; --- a/drivers/mtd/mtdchar.c