Re: [PATCH -v2] pciehp: Checking pci conf reading to new added deviceinstead of sleep 1s

From: Kenji Kaneshige
Date: Thu Jan 19 2012 - 03:44:29 EST


(2011/12/17 9:52), Yinghai Lu wrote:

<snip.>
>
> -/*
> - * Read the config data for a PCI device, sanity-check it
> - * and fill in the dev structure...
> - */
> -static struct pci_dev *pci_scan_device(struct pci_bus *bus, int devfn)
> +bool pci_bus_read_dev_vendor_id(struct pci_bus *bus, int devfn, u32 *l,
> + int crs_timeout)

EXPORT_SYMBOL() for pci_bus_read_dev_vendor_id() is needed to build
pciehp as a kernel module.

Regards,
Kenji Kaneshige

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/