aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120-2.6/files/drivers/mtd/myloader.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-03-28 09:10:46 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-03-28 09:10:46 +0000
commit9b300145316124eb16f5d75cdd5181b7829efe29 (patch)
tree17bc85859ea91925308e0d95462f9c147e330e4a /target/linux/adm5120-2.6/files/drivers/mtd/myloader.c
parentbaa505a1798ad29ce1bc6c914aeaa4e96e34a15a (diff)
downloadupstream-9b300145316124eb16f5d75cdd5181b7829efe29.tar.gz
upstream-9b300145316124eb16f5d75cdd5181b7829efe29.tar.bz2
upstream-9b300145316124eb16f5d75cdd5181b7829efe29.zip
Use myloader parser in the adm5120 mtd driver. Do not use EXPORT_SYMBOL in myloader parser
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6737 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6/files/drivers/mtd/myloader.c')
-rw-r--r--target/linux/adm5120-2.6/files/drivers/mtd/myloader.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/adm5120-2.6/files/drivers/mtd/myloader.c b/target/linux/adm5120-2.6/files/drivers/mtd/myloader.c
index 1bdd798e46..023ae5c61f 100644
--- a/target/linux/adm5120-2.6/files/drivers/mtd/myloader.c
+++ b/target/linux/adm5120-2.6/files/drivers/mtd/myloader.c
@@ -40,7 +40,7 @@
#define NAME_PARTITION_TABLE "Partition Table"
#define BLOCK_LEN_MIN 0x10000
-static int parse_myloader_partitions(struct mtd_info *master,
+int parse_myloader_partitions(struct mtd_info *master,
struct mtd_partition **pparts,
unsigned long origin)
{
@@ -171,8 +171,6 @@ static void __exit mylo_mtd_parser_exit(void)
module_init(mylo_mtd_parser_init);
module_exit(mylo_mtd_parser_exit);
-EXPORT_SYMBOL_GPL(parse_myloader_partitions);
-
MODULE_AUTHOR("Gabor Juhos <juhosg@freemail.hu>");
MODULE_DESCRIPTION("Parsing code for MyLoader partition tables");
MODULE_LICENSE("GPL");