diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-04-01 09:47:27 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-04-01 09:47:27 +0000 |
commit | e8bdeb95977435a81a75ecc0af10c36ad32a4372 (patch) | |
tree | 19d98142c4dae8aa347587038df5fa94a8c38512 /target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch | |
parent | 5b9f5a39addd72cdd783dd00708fc5f8be63d975 (diff) | |
download | master-187ad058-e8bdeb95977435a81a75ecc0af10c36ad32a4372.tar.gz master-187ad058-e8bdeb95977435a81a75ecc0af10c36ad32a4372.tar.bz2 master-187ad058-e8bdeb95977435a81a75ecc0af10c36ad32a4372.zip |
the redboot parsing function needs to be exported
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6778 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch')
-rw-r--r-- | target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch b/target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch index b3a4adb00d..7411f06816 100644 --- a/target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch +++ b/target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch @@ -25,3 +25,15 @@ diff -urN linux-2.6.17/drivers/mtd/maps/Makefile linux-2.6.17.new/drivers/mtd/ma obj-$(CONFIG_MTD_RPXLITE) += rpxlite.o obj-$(CONFIG_MTD_TQM8XXL) += tqm8xxl.o obj-$(CONFIG_MTD_SA1100) += sa1100-flash.o +diff -urN linux-2.6.19/drivers/mtd/redboot.c linux-2.6.19.new/drivers/mtd/redboot.c +--- linux-2.6.19/drivers/mtd/redboot.c 2006-12-18 17:09:14.000000000 +0100 ++++ linux-2.6.19.new/drivers/mtd/redboot.c 2006-12-18 17:14:26.000000000 +0100 +@@ -39,7 +39,7 @@ + return 1; + } + +-static int parse_redboot_partitions(struct mtd_info *master, ++int parse_redboot_partitions(struct mtd_info *master, + struct mtd_partition **pparts, + unsigned long fis_origin) + { |