Re: [PATCH 27/28] PCI: Remove platform specific pci_domain_nr()

From: Arnd Bergmann
Date: Fri Jan 16 2015 - 04:45:05 EST


On Friday 16 January 2015 09:44:25 Yijing Wang wrote:
>
> +int pci_domain_nr(struct pci_bus *bus)
> +{
> + struct pci_host_bridge *host = find_pci_host_bridge(bus);
> +
> + return host->domain;
> +}
> +EXPORT_SYMBOL_GPL(pci_domain_nr);
> +

Since most of the existing functions are exported as EXPORT_SYMBOL
rather than EXPORT_SYMBOL_GPL, I think the new version should do
the same.

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