lkml.org 
[lkml]   [2002]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.5.18 compilation failure ide_scsi
Christoph Lameter wrote:
>
> drivers/ide/idedriver.o: In function `ata_module_init':
> drivers/ide/idedriver.o(.text.init+0xa5f): undefined reference to
> `idescsi_init'make: *** [vmlinux] Error 1
I have had a same problem.
Try this patch.

--- linux-2.5.18/drivers/scsi/ide-scsi.c.orig Sat May 25 10:55:17 2002
+++ linux-2.5.18/drivers/scsi/ide-scsi.c Sat May 25 21:18:55 2002
@@ -804,7 +804,12 @@
};


-static int __init idescsi_init(void)
+int idescsi_init(void)
+{
+ return ata_driver_module(&idescsi_driver);
+}
+
+static int __init init_idescsi_module(void)
{
int ret;
ret = ata_driver_module(&idescsi_driver);
@@ -828,6 +833,6 @@
unregister_ata_driver(&idescsi_driver);
}

-module_init(idescsi_init);
+module_init(init_idescsi_module);
module_exit(exit_idescsi_module);
MODULE_LICENSE("GPL");
-
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/
\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.047 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site