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

PCI: remove pci_present() from drivers/net/hp100.c

parent 3df78739
...@@ -405,7 +405,7 @@ int __init hp100_probe(struct net_device *dev) ...@@ -405,7 +405,7 @@ int __init hp100_probe(struct net_device *dev)
/* First: scan PCI bus(es) */ /* First: scan PCI bus(es) */
#ifdef CONFIG_PCI #ifdef CONFIG_PCI
if (pci_present()) { {
int pci_index; int pci_index;
struct pci_dev *pci_dev = NULL; struct pci_dev *pci_dev = NULL;
int pci_id_index; int pci_id_index;
...@@ -2973,8 +2973,10 @@ static int __init hp100_module_init(void) ...@@ -2973,8 +2973,10 @@ static int __init hp100_module_init(void)
{ {
int i, cards; int i, cards;
if (hp100_port == 0 && !EISA_bus && !pci_present()) #ifndef CONFIG_PCI
if (hp100_port == 0 && !EISA_bus)
printk("hp100: You should not use auto-probing with insmod!\n"); printk("hp100: You should not use auto-probing with insmod!\n");
#endif
/* Loop on all possible base addresses */ /* Loop on all possible base addresses */
i = -1; i = -1;
......
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