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

From: Adrian Bunk
Date: Wed May 12 2004 - 17:54:35 EST


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

--

"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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/