diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-08-02 12:38:33 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-08-02 12:38:33 +0000 |
commit | a0a6c2fad06f3fdd8a9ea2353f8b7511b413411a (patch) | |
tree | 7a0d9391ae3a33bdd1828f8cb0346a9a9e25b31a /target/linux/magicbox/patches | |
parent | 5a0f48c4996ca091e1679a7b93520c65c7a62cfc (diff) | |
download | upstream-a0a6c2fad06f3fdd8a9ea2353f8b7511b413411a.tar.gz upstream-a0a6c2fad06f3fdd8a9ea2353f8b7511b413411a.tar.bz2 upstream-a0a6c2fad06f3fdd8a9ea2353f8b7511b413411a.zip |
fix compile error
SVN-Revision: 12075
Diffstat (limited to 'target/linux/magicbox/patches')
-rw-r--r-- | target/linux/magicbox/patches/100-cf_slot.patch | 13 |
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 |