Skip to contentSkip to conversation

Fix sgiwd93 build as a module.

SCSI Ralf Baechle 2 participants 2 messages Mar 10, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

wd33c93 needs to call sgiwd93_reset.

drivers/scsi/sgiwd93.c +2 -0
@@ -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)
 {
#1 lore raw
Quoted 1 line · Ralf Baechle

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.