* 2.5.18 compilation failure ide_scsi
@ 2002-05-25 7:32 Christoph Lameter
2002-05-25 13:08 ` Osamu Tomita
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Lameter @ 2002-05-25 7:32 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.5.18 compilation failure ide_scsi
2002-05-25 7:32 2.5.18 compilation failure ide_scsi Christoph Lameter
@ 2002-05-25 13:08 ` Osamu Tomita
0 siblings, 0 replies; 2+ messages in thread
From: Osamu Tomita @ 2002-05-25 13:08 UTC (permalink / raw)
To: Christoph Lameter; +Cc: Martin Dalecki, linux-kernel@vger.kernel.org
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");
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-25 13:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-25 7:32 2.5.18 compilation failure ide_scsi Christoph Lameter
2002-05-25 13:08 ` Osamu Tomita
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox