* [SCSI] Fix sgiwd93 build as a module.
@ 2006-03-10 20:14 Ralf Baechle
2006-03-10 20:19 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Ralf Baechle @ 2006-03-10 20:14 UTC (permalink / raw)
To: linux-scsi
wd33c93 needs to call sgiwd93_reset.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
--- a/drivers/scsi/sgiwd93.c
+++ b/drivers/scsi/sgiwd93.c
@@ -14,6 +14,7 @@
#include <linux/interrupt.h>
#include <linux/types.h>
#include <linux/mm.h>
+#include <linux/module.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
@@ -197,6 +198,7 @@ void sgiwd93_reset(unsigned long base)
udelay(50);
hregs->ctrl = 0;
}
+EXPORT_SYMBOL_GPL(sgiwd93_reset);
static inline void init_hpc_chain(struct hpc_data *hd)
{
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [SCSI] Fix sgiwd93 build as a module.
2006-03-10 20:14 [SCSI] Fix sgiwd93 build as a module Ralf Baechle
@ 2006-03-10 20:19 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2006-03-10 20:19 UTC (permalink / raw)
To: Ralf Baechle; +Cc: linux-scsi
On Fri, Mar 10, 2006 at 08:14:23PM +0000, Ralf Baechle wrote:
> wd33c93 needs to call sgiwd93_reset.
This can't work. sgiwd93 depends on symbols from wd33c93 already,
and when wd33c93 calls directly into sgiwd93 you'd get a depency loop.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-10 20:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-10 20:14 [SCSI] Fix sgiwd93 build as a module Ralf Baechle
2006-03-10 20:19 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox