X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e1ee35b052206f8880a3cc843d17a22f68fb5ff2..9f4a7ba694b4b01a362836adcbcbdcfca9e8a3c3:/target/linux/generic-2.6/patches-2.6.26/065-rootfs_split.patch?ds=sidebyside 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