Re: [BK PATCH] pcibios_* removals for 2.5.40
Jeff Garzik (jgarzik@pobox.com)
Fri, 04 Oct 2002 17:36:47 -0400
Greg KH wrote:
> diff -Nru a/drivers/net/aironet4500_card.c b/drivers/net/aironet4500_card.c
> --- a/drivers/net/aironet4500_card.c Fri Oct 4 13:47:26 2002
> +++ b/drivers/net/aironet4500_card.c Fri Oct 4 13:47:26 2002
> @@ -80,38 +77,29 @@
> int awc4500_pci_probe(struct net_device *dev)
> {
> int cards_found = 0;
> - static int pci_index; /* Static, for multiple probe calls. */
> u8 pci_irq_line = 0;
> // int p;
> -
> - unsigned char awc_pci_dev, awc_pci_bus;
> -
> + struct pci_dev *pdev = NULL;
> +
> if (!pci_present())
> return -1;
pci_present can be eliminated
-
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/