Skip to content
Snippets Groups Projects
Commit 337baf61 authored by juhosg's avatar juhosg
Browse files

[magicbox] fix compile error

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12075 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 93df4822
No related branches found
No related tags found
No related merge requests found
--- 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment