projects
/
openwrt
/
staging
/
aparcar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a0f48c
)
fix compile error
author
Gabor Juhos
<juhosg@openwrt.org>
Sat, 2 Aug 2008 12:38:33 +0000
(12:38 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Sat, 2 Aug 2008 12:38:33 +0000
(12:38 +0000)
SVN-Revision: 12075
target/linux/magicbox/patches/100-cf_slot.patch
patch
|
blob
|
history
diff --git
a/target/linux/magicbox/patches/100-cf_slot.patch
b/target/linux/magicbox/patches/100-cf_slot.patch
index e15d522df81f7c65910111ca6b69b52d50add580..79f567216f2f3a50a2a87cbb0ee4e052b5dabef5 100644
(file)
--- 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