[SCSI] advansys: wrap PCI table inside ifdef CONFIG_PCI
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 21 Nov 2006 21:50:47 +0000 (13:50 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 3 Jan 2007 22:57:22 +0000 (16:57 -0600)
commitd8dafd8ccde06f16095234dc3addf52b511805b3
tree26c109b0304ea02a27557b26bcbb38115668b633
parent7523c4dd9923cab748dad9b79d0165e118e3d03b
[SCSI] advansys: wrap PCI table inside ifdef CONFIG_PCI

The Advansys ISA/EISA/PCI driver has a compile error when
CONFIG_PCI=n, so wrap the pci_device_id table inside
ifdef CONFIG_PCI.

drivers/scsi/advansys.c: At top level:
drivers/scsi/advansys.c:18219: error: array type has incomplete element type
drivers/scsi/advansys.c:18221: error: 'PCI_ANY_ID' undeclared here (not in a function)
make[2]: *** [drivers/scsi/advansys.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/advansys.c