Skip to contentSkip to conversation

2.6: SCSI advansys.c doesn't compilefor !PCI

DISCUSSION Adrian Bunk 1 participant 1 message May 12, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

I got the following compile error in 2.6.6-mm1 (but it doesn't seem to be specific to -mm) with CONFIG_PCI=n:

<-- snip -->

...
CC drivers/scsi/advansys.o
drivers/scsi/advansys.c: In function `advansys_detect':
drivers/scsi/advansys.c:4770: error: `pci_devp' undeclared (first use in this function) drivers/scsi/advansys.c:4770: error: (Each undeclared identifier is reported only once drivers/scsi/advansys.c:4770: error: for each function it appears in.) drivers/scsi/advansys.c: In function `DvcAdvWritePCIConfigByte':
drivers/scsi/advansys.c:9154: warning: return' with a value, in function returning void drivers/scsi/advansys.c: In function AscInitFromAscDvcVar':
drivers/scsi/advansys.c:12306: error: dereferencing pointer to incomplete type make[2]: *** [drivers/scsi/advansys.o] Error 1

<-- snip -->

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed