Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH (greg@kroah.com)
Tue, 10 Jun 2003 11:49:29 -0700


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))
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,10)

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