aboutsummaryrefslogtreecommitdiffstats
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
parentf2e91995eaf5f4f1a7cfc85e52d445ac45e36f8a (diff)
downloadupstream-16603d025c0644cc28278e1acba0683af944891c.tar.gz
upstream-16603d025c0644cc28278e1acba0683af944891c.tar.bz2
upstream-16603d025c0644cc28278e1acba0683af944891c.zip
export rescan_partitions to prevent linking failures in block2mtd (#6741)
SVN-Revision: 20205
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/060-block2mtd_init.patch10
-rw-r--r--target/linux/generic-2.6/patches-2.6.33/060-block2mtd_init.patch18
-rw-r--r--target/linux/generic-2.6/patches-2.6.34/060-block2mtd_init.patch18
3 files changed, 46 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 50df4aae0f..3a47c85bb9 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)
+ {
diff --git a/target/linux/generic-2.6/patches-2.6.33/060-block2mtd_init.patch b/target/linux/generic-2.6/patches-2.6.33/060-block2mtd_init.patch
index 50df4aae0f..4adad9a02e 100644
--- a/target/linux/generic-2.6/patches-2.6.33/060-block2mtd_init.patch
+++ b/target/linux/generic-2.6/patches-2.6.33/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)
+ {
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)
+ {