Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1329487
| From | Murali Karicheri <m-karicheri2@ti.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 4/5] drivers/pci: make host/pci-keystone-dw.c modular |
| Date | 2016-02-08 20:10 +0100 |
| Message-ID | <qZZma-15p-9@gated-at.bofh.it> (permalink) |
| References | <qZHyW-5BD-5@gated-at.bofh.it> <qZHyY-5BD-35@gated-at.bofh.it> <qZQVB-3NI-29@gated-at.bofh.it> <qZWoj-7it-43@gated-at.bofh.it> |
| Organization | Texas Instruments |
On 02/08/2016 10:53 AM, Paul Gortmaker wrote: > [Re: [PATCH 4/5] drivers/pci: make host/pci-keystone-dw.c modular] On 08/02/2016 (Mon 10:59) Arnd Bergmann wrote: > >> On Sunday 07 February 2016 19:00:43 Paul Gortmaker wrote: >>> Export the symbols that this driver requires in order for it to >>> be modular. In addition to the one use case of a dw_pci sym, it >>> has many instances of its own ks_dw_pci syms that need exporting >>> in order to modpost w/o error. >>> >>> Cc: Murali Karicheri <m-karicheri2@ti.com> >>> Cc: Bjorn Helgaas <bhelgaas@google.com> >>> Cc: Stanimir Varbanov <svarbanov@mm-sol.com> >>> Cc: Geert Uytterhoeven <geert+renesas@glider.be> >>> Cc: Thierry Reding <thierry.reding@gmail.com> >>> Cc: Arnd Bergmann <arnd@arndb.de> >>> Cc: linux-pci@vger.kernel.org >>> Cc: linux-arm-kernel@lists.infradead.org >>> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> >>> --- >> >> >> Could we just have one module for the driver instead of two? I agree. Please note that Keystone PCI is tested only as static. I can help test the module if this series get to the next revision, but it might be a while before I can do the test. Murali > > That thought crossed my mind, but I was considering merging the C files > and figured it might be more churn than the maintainer wanted. If > maintainers are good with the below (assuming it works) then yes that > also seems reasonable. > > P. > -- > >> >> Something like below (untested) >> >> Arnd >> >> diff --git a/drivers/pci/host/Makefile b/drivers/pci/host/Makefile >> index 7b2f20c6ccc6..0b472c680348 100644 >> --- a/drivers/pci/host/Makefile >> +++ b/drivers/pci/host/Makefile >> @@ -8,7 +8,8 @@ obj-$(CONFIG_PCI_RCAR_GEN2) += pci-rcar-gen2.o >> obj-$(CONFIG_PCI_RCAR_GEN2_PCIE) += pcie-rcar.o >> obj-$(CONFIG_PCI_HOST_GENERIC) += pci-host-generic.o >> obj-$(CONFIG_PCIE_SPEAR13XX) += pcie-spear13xx.o >> -obj-$(CONFIG_PCI_KEYSTONE) += pci-keystone-dw.o pci-keystone.o >> +obj-$(CONFIG_PCI_KEYSTONE) pci-keystone-mod.o >> +pci-keystone-mod-objs := pci-keystone-dw.o pci-keystone.o >> obj-$(CONFIG_PCIE_XILINX) += pcie-xilinx.o >> obj-$(CONFIG_PCI_XGENE) += pci-xgene.o >> obj-$(CONFIG_PCI_XGENE_MSI) += pci-xgene-msi.o >> > -- Murali Karicheri Linux Kernel, Keystone
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/5] Modularize PCI_DW related drivers. Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-02-08 01:10 +0100
[PATCH 4/5] drivers/pci: make host/pci-keystone-dw.c modular Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-02-08 01:10 +0100
Re: [PATCH 4/5] drivers/pci: make host/pci-keystone-dw.c modular Arnd Bergmann <arnd@arndb.de> - 2016-02-08 11:10 +0100
Re: [PATCH 4/5] drivers/pci: make host/pci-keystone-dw.c modular Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-02-08 17:00 +0100
Re: [PATCH 4/5] drivers/pci: make host/pci-keystone-dw.c modular Murali Karicheri <m-karicheri2@ti.com> - 2016-02-08 20:10 +0100
csiph-web