generic: remove obsolete symbol export from block2mtd init patch

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40445
master
Felix Fietkau 11 years ago
parent f02e3a2a4a
commit 25a1dcb37b
  1. 10
      target/linux/generic/patches-3.10/440-block2mtd_init.patch
  2. 10
      target/linux/generic/patches-3.12/440-block2mtd_init.patch
  3. 10
      target/linux/generic/patches-3.13/440-block2mtd_init.patch
  4. 10
      target/linux/generic/patches-3.14/440-block2mtd_init.patch

@ -104,13 +104,3 @@
static int __init block2mtd_init(void) static int __init block2mtd_init(void)
{ {
--- a/block/partition-generic.c
+++ b/block/partition-generic.c
@@ -548,6 +548,7 @@ int invalidate_partitions(struct gendisk
return 0;
}
+EXPORT_SYMBOL(rescan_partitions);
unsigned char *read_dev_sector(struct block_device *bdev, sector_t n, Sector *p)
{

@ -105,13 +105,3 @@
static int __init block2mtd_init(void) static int __init block2mtd_init(void)
{ {
--- a/block/partition-generic.c
+++ b/block/partition-generic.c
@@ -548,6 +548,7 @@ int invalidate_partitions(struct gendisk
return 0;
}
+EXPORT_SYMBOL(rescan_partitions);
unsigned char *read_dev_sector(struct block_device *bdev, sector_t n, Sector *p)
{

@ -105,13 +105,3 @@
static int __init block2mtd_init(void) static int __init block2mtd_init(void)
{ {
--- a/block/partition-generic.c
+++ b/block/partition-generic.c
@@ -548,6 +548,7 @@ int invalidate_partitions(struct gendisk
return 0;
}
+EXPORT_SYMBOL(rescan_partitions);
unsigned char *read_dev_sector(struct block_device *bdev, sector_t n, Sector *p)
{

@ -105,13 +105,3 @@
static int __init block2mtd_init(void) static int __init block2mtd_init(void)
{ {
--- a/block/partition-generic.c
+++ b/block/partition-generic.c
@@ -548,6 +548,7 @@ int invalidate_partitions(struct gendisk
return 0;
}
+EXPORT_SYMBOL(rescan_partitions);
unsigned char *read_dev_sector(struct block_device *bdev, sector_t n, Sector *p)
{

Loading…
Cancel
Save