Fix sgiwd93 build as a module.
wd33c93 needs to call sgiwd93_reset.
Signed-off-by Ralf Baechle <[email protected]>
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) {
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.