1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-01 08:31:19 +02:00

fix compile error

SVN-Revision: 12075
This commit is contained in:
Gabor Juhos 2008-08-02 12:38:33 +00:00
parent 5a0f48c499
commit a0a6c2fad0

@ -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