Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T19:56:09Z

ChangeSet 1.1367, 2003/06/09 16:10:13-07:00, greg@kroah.com

PCI: remove pci_present() from drivers/scsi/tmscsim.c

drivers/scsi/tmscsim.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -Nru a/drivers/scsi/tmscsim.c b/drivers/scsi/tmscsim.c
--- a/drivers/scsi/tmscsim.c Tue Jun 10 11:18:24 2003
+++ b/drivers/scsi/tmscsim.c Tue Jun 10 11:18:24 2003
@@ -394,7 +394,7 @@
# define PCI_WRITE_CONFIG_WORD(pd, rv, bv) pci_write_config_word (pd, rv, bv)
# define PCI_READ_CONFIG_WORD(pd, rv, bv) pci_read_config_word (pd, rv, bv)
# define PCI_BUS_DEV pdev->bus->number, pdev->devfn
-# define PCI_PRESENT pci_present ()
+# define PCI_PRESENT (1)
# define PCI_SET_MASTER pci_set_master (pdev)
# define PCI_FIND_DEVICE(vend, id) (pdev = pci_find_device (vend, id, pdev))