diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-03-14 16:21:33 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-03-14 16:21:33 +0000 |
commit | 16603d025c0644cc28278e1acba0683af944891c (patch) | |
tree | 31d8e2f4febdd0e856ce82bfab5fbf140ade19f1 /target/linux/generic-2.6/patches-2.6.34 | |
parent | f2e91995eaf5f4f1a7cfc85e52d445ac45e36f8a (diff) | |
download | upstream-16603d025c0644cc28278e1acba0683af944891c.tar.gz upstream-16603d025c0644cc28278e1acba0683af944891c.tar.bz2 upstream-16603d025c0644cc28278e1acba0683af944891c.zip |
export rescan_partitions to prevent linking failures in block2mtd (#6741)
SVN-Revision: 20205
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.34')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.34/060-block2mtd_init.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.34/060-block2mtd_init.patch b/target/linux/generic-2.6/patches-2.6.34/060-block2mtd_init.patch index 50df4aae0f..4adad9a02e 100644 --- a/target/linux/generic-2.6/patches-2.6.34/060-block2mtd_init.patch +++ b/target/linux/generic-2.6/patches-2.6.34/060-block2mtd_init.patch @@ -108,3 +108,21 @@ static int __init block2mtd_init(void) { +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) + { |