[PATCH] 2.4.22-pre4 ide module fix init_cmd640_vlb

From: Jeff Chua (jeff89@silk.corp.fedex.com)
Date: Thu Jul 10 2003 - 00:23:03 EST


Marcelo,

The following patch fixes problem when CONFIG_BLK_DEV_CMD640=y

depmod: *** Unresolved symbols in /lib/modules/2.4.22-pre4/kernel/drivers/ide/ide-core.o
depmod: init_cmd640_vlb

init_cmd640_vlb() doesn't exist. This patch removes the function call so
that ide can be loaded as a module.

Thanks,
Jeff.

--- drivers/ide/ide.c Thu Jul 10 13:03:49 2003
+++ drivers/ide/ide.c.new Thu Jul 10 13:03:55 2003
@@ -2112,8 +2112,6 @@
 #ifdef CONFIG_BLK_DEV_CMD640
                         case -14: /* "cmd640_vlb" */
                         {
- extern void init_cmd640_vlb (void);
- init_cmd640_vlb();
                                 goto done;
                         }
 #endif /* CONFIG_BLK_DEV_CMD640 */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:34 EST