Re: [PATCH] Yet more PCI fixes for 2.5.70

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


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,

-
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/