summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.32/060-block2mtd_init.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-03-14 16:21:33 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-03-14 16:21:33 +0000
commit16603d025c0644cc28278e1acba0683af944891c (patch)
tree31d8e2f4febdd0e856ce82bfab5fbf140ade19f1 /target/linux/generic-2.6/patches-2.6.32/060-block2mtd_init.patch
parentf2e91995eaf5f4f1a7cfc85e52d445ac45e36f8a (diff)
downloadmtk-20170518-16603d025c0644cc28278e1acba0683af944891c.zip
mtk-20170518-16603d025c0644cc28278e1acba0683af944891c.tar.gz
mtk-20170518-16603d025c0644cc28278e1acba0683af944891c.tar.bz2
export rescan_partitions to prevent linking failures in block2mtd (#6741)
SVN-Revision: 20205
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.32/060-block2mtd_init.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/060-block2mtd_init.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.32/060-block2mtd_init.patch b/target/linux/generic-2.6/patches-2.6.32/060-block2mtd_init.patch
index 50df4aa..3a47c85 100644
--- a/target/linux/generic-2.6/patches-2.6.32/060-block2mtd_init.patch
+++ b/target/linux/generic-2.6/patches-2.6.32/060-block2mtd_init.patch
@@ -108,3 +108,13 @@
static int __init block2mtd_init(void)
{
+--- a/fs/partitions/check.c
++++ b/fs/partitions/check.c
+@@ -625,6 +625,7 @@ try_scan:
+ kfree(state);
+ return 0;
+ }
++EXPORT_SYMBOL(rescan_partitions);
+
+ unsigned char *read_dev_sector(struct block_device *bdev, sector_t n, Sector *p)
+ {