linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Murray <andrew.murray@arm.com>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
	Bjorn Helgaas <bhelgaas@google.com>
Subject: Re: [PATCH 5/5] PCI: Allow building PCIe things without PCIEPORTBUS
Date: Thu, 7 Nov 2019 09:41:45 +0000	[thread overview]
Message-ID: <20191107094144.GT9723@e119886-lin.cambridge.arm.com> (raw)
In-Reply-To: <20191106222420.10216-6-helgaas@kernel.org>

On Wed, Nov 06, 2019 at 04:24:21PM -0600, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@google.com>
> 
> Some things in drivers/pci/pcie (aspm.c and ptm.c) do not depend on the
> PCIe portdrv, so we should be able to build them even if PCIEPORTBUS is not
> selected.  Remove the PCIEPORTBUS guard from building pcie/.
> 
> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
> ---
>  drivers/pci/Makefile | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile
> index 28cdd8c0213a..522d2b974e91 100644
> --- a/drivers/pci/Makefile
> +++ b/drivers/pci/Makefile
> @@ -7,6 +7,8 @@ obj-$(CONFIG_PCI)		+= access.o bus.o probe.o host-bridge.o \
>  				   pci-sysfs.o rom.o setup-res.o irq.o vpd.o \
>  				   setup-bus.o vc.o mmap.o setup-irq.o
>  
> +obj-$(CONFIG_PCI)		+= pcie/
> +
>  ifdef CONFIG_PCI
>  obj-$(CONFIG_PROC_FS)		+= proc.o
>  obj-$(CONFIG_SYSFS)		+= slot.o
> @@ -15,7 +17,6 @@ endif
>  
>  obj-$(CONFIG_OF)		+= of.o
>  obj-$(CONFIG_PCI_QUIRKS)	+= quirks.o
> -obj-$(CONFIG_PCIEPORTBUS)	+= pcie/
>  obj-$(CONFIG_HOTPLUG_PCI)	+= hotplug/
>  obj-$(CONFIG_PCI_MSI)		+= msi.o
>  obj-$(CONFIG_PCI_ATS)		+= ats.o

Reviewed-by: Andrew Murray <andrew.murray@arm.com>

> -- 
> 2.24.0.rc1.363.gb1bccd3e3d-goog
> 

  reply	other threads:[~2019-11-07  9:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-06 22:24 [PATCH 0/5] PCI: Clean up PTM message and Kconfig/Makefile nits Bjorn Helgaas
2019-11-06 22:24 ` [PATCH 1/5] PCI/PTM: Remove spurious "d" from granularity message Bjorn Helgaas
2019-11-07  9:28   ` Andrew Murray
2019-11-06 22:24 ` [PATCH 2/5] PCI/PTM: Remove dependency on PCIEPORTBUS Bjorn Helgaas
2019-11-07  9:29   ` Andrew Murray
2019-11-06 22:24 ` [PATCH 3/5] PCI/ASPM: " Bjorn Helgaas
2019-11-07  9:29   ` Andrew Murray
2019-11-06 22:24 ` [PATCH 4/5] PCI: Remove PCIe Kconfig dependencies on PCI Bjorn Helgaas
2019-11-07  9:29   ` Andrew Murray
2019-11-06 22:24 ` [PATCH 5/5] PCI: Allow building PCIe things without PCIEPORTBUS Bjorn Helgaas
2019-11-07  9:41   ` Andrew Murray [this message]
2019-11-07 22:44 ` [PATCH 0/5] PCI: Clean up PTM message and Kconfig/Makefile nits Bjorn Helgaas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191107094144.GT9723@e119886-lin.cambridge.arm.com \
    --to=andrew.murray@arm.com \
    --cc=bhelgaas@google.com \
    --cc=helgaas@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).