Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T21:38:36Z

ChangeSet 1.1330, 2003/06/09 15:37:14-07:00, greg@kroah.com

PCI: remove pci_present() from drivers/i2c/i2c-elektor.c

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

diff -Nru a/drivers/i2c/i2c-elektor.c b/drivers/i2c/i2c-elektor.c
--- a/drivers/i2c/i2c-elektor.c Tue Jun 10 11:21:36 2003
+++ b/drivers/i2c/i2c-elektor.c Tue Jun 10 11:21:36 2003
@@ -188,7 +188,7 @@
#ifdef __alpha__
/* check to see we have memory mapped PCF8584 connected to the
Cypress cy82c693 PCI-ISA bridge as on UP2000 board */
- if ((base == 0) && pci_present()) {
+ if (base == 0) {

struct pci_dev *cy693_dev =
pci_find_device(PCI_VENDOR_ID_CONTAQ,