aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/magicbox
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-08-02 12:38:33 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-08-02 12:38:33 +0000
commit4ea8c591fc227934ec0ba315a14e5ea21d056cec (patch)
tree703120d4ec0e61baf5c2ffac20a5400f3a57c75c /target/linux/magicbox
parent318fc4c9a9d398951a563aa4570724a1225ef696 (diff)
downloadmaster-187ad058-4ea8c591fc227934ec0ba315a14e5ea21d056cec.tar.gz
master-187ad058-4ea8c591fc227934ec0ba315a14e5ea21d056cec.tar.bz2
master-187ad058-4ea8c591fc227934ec0ba315a14e5ea21d056cec.zip
[magicbox] fix compile error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12075 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/magicbox')
-rw-r--r--target/linux/magicbox/patches/100-cf_slot.patch13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/magicbox/patches/100-cf_slot.patch b/target/linux/magicbox/patches/100-cf_slot.patch
index e15d522df8..79f567216f 100644
--- a/target/linux/magicbox/patches/100-cf_slot.patch
+++ b/target/linux/magicbox/patches/100-cf_slot.patch
@@ -1,6 +1,17 @@
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
-@@ -494,6 +494,9 @@
+@@ -78,6 +78,10 @@
+ /* default maximum number of failures */
+ #define IDE_DEFAULT_MAX_FAILURES 1
+
++#ifdef CONFIG_BLK_DEV_MAGICBOX_IDE
++extern void __init ide_magicbox_init(void);
++#endif
++
+ struct class *ide_port_class;
+
+ static const u8 ide_hwif_to_major[] = { IDE0_MAJOR, IDE1_MAJOR,
+@@ -494,6 +498,9 @@
return -EPERM;
#endif