Re: [PATCH] PCI: export symbol pci_bus_sem to module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 28, 2012 at 12:33 AM, Jiang Liu <jiang.liu@xxxxxxxxxx> wrote:
> Changeset "9080648 PCI: acpiphp: remove all functions in slot,
> even without ACPI _EJx" introduces pci_bus_sem into the acpiphp
> driver, but pci_bus_sem hasn't been exported to modules yet.
> So export symbol pci_bus_sem to modules, otherwise the acpiphp
> driver can't be built as module any more.
>
> Signed-off-by: Yijing Wang <wangyijing@xxxxxxxxxx>
> Signed-off-by: Jiang Liu <liuj97@xxxxxxxxx>
> ---
>  drivers/pci/search.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/pci/search.c b/drivers/pci/search.c
> index 9d75dc8..e0c7a22 100644
> --- a/drivers/pci/search.c
> +++ b/drivers/pci/search.c
> @@ -15,6 +15,8 @@
>  #include "pci.h"
>
>  DECLARE_RWSEM(pci_bus_sem);
> +EXPORT_SYMBOL(pci_bus_sem);
> +
>  /*
>  * find the upstream PCIe-to-PCI bridge of a PCI device
>  * if the device is PCIE, return NULL

Bjorn,

can you please fold this one into

9080648:
PCI: acpiphp: remove all functions in slot, even without ACPI _EJx

that commit now is in pci/for-3.6

Fengguang's auto compiling test robot reported same error on my
for-pci-root-bus-hotplug branch that is based on
pci/for-3.6.

Thanks

Yinghai

Attachment: fix_acpiphp_mod.patch
Description: Binary data


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux