Commit bd23788d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

parent b618f1aa
...@@ -188,7 +188,7 @@ static int __init i2c_pcfisa_init(void) ...@@ -188,7 +188,7 @@ static int __init i2c_pcfisa_init(void)
#ifdef __alpha__ #ifdef __alpha__
/* check to see we have memory mapped PCF8584 connected to the /* check to see we have memory mapped PCF8584 connected to the
Cypress cy82c693 PCI-ISA bridge as on UP2000 board */ Cypress cy82c693 PCI-ISA bridge as on UP2000 board */
if ((base == 0) && pci_present()) { if (base == 0) {
struct pci_dev *cy693_dev = struct pci_dev *cy693_dev =
pci_find_device(PCI_VENDOR_ID_CONTAQ, pci_find_device(PCI_VENDOR_ID_CONTAQ,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment