Patchwork pci: add pci resource code to build for M68K architecture

login
register
mail settings
Submitter Greg Ungerer
Date July 13, 2012, 3:49 a.m.
Message ID <1342151381-15255-1-git-send-email-gerg@snapgear.com>
Download mbox | patch
Permalink /patch/170775/
State Accepted
Headers show

Comments

Greg Ungerer - July 13, 2012, 3:49 a.m.
From: Greg Ungerer <gerg@uclinux.org>

The ColdFire M54xx family of CPU cores (supported by the m68k arch code)
have PCI bus harwdare. We want to be able to use this and will need the
setup-bus.c and setup-irq.c helper functions. So when CONFIG_M68K is enabled
add them to the objs build list.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
---
 drivers/pci/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Bjorn Helgaas - July 13, 2012, 3:43 p.m.
On Thu, Jul 12, 2012 at 9:49 PM,  <gerg@snapgear.com> wrote:
> From: Greg Ungerer <gerg@uclinux.org>
>
> The ColdFire M54xx family of CPU cores (supported by the m68k arch code)
> have PCI bus harwdare. We want to be able to use this and will need the
> setup-bus.c and setup-irq.c helper functions. So when CONFIG_M68K is enabled
> add them to the objs build list.
>
> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
> ---
>  drivers/pci/Makefile |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile
> index 01c001f..8d688b2 100644
> --- a/drivers/pci/Makefile
> +++ b/drivers/pci/Makefile
> @@ -49,6 +49,7 @@ obj-$(CONFIG_MN10300) += setup-bus.o
>  obj-$(CONFIG_MICROBLAZE) += setup-bus.o
>  obj-$(CONFIG_TILE) += setup-bus.o setup-irq.o
>  obj-$(CONFIG_SPARC_LEON) += setup-bus.o setup-irq.o
> +obj-$(CONFIG_M68K) += setup-bus.o setup-irq.o
>
>  #
>  # ACPI Related PCI FW Functions

Applied to my "next" branch, thanks!

Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile
index 01c001f..8d688b2 100644
--- a/drivers/pci/Makefile
+++ b/drivers/pci/Makefile
@@ -49,6 +49,7 @@  obj-$(CONFIG_MN10300) += setup-bus.o
 obj-$(CONFIG_MICROBLAZE) += setup-bus.o
 obj-$(CONFIG_TILE) += setup-bus.o setup-irq.o
 obj-$(CONFIG_SPARC_LEON) += setup-bus.o setup-irq.o
+obj-$(CONFIG_M68K) += setup-bus.o setup-irq.o
 
 #
 # ACPI Related PCI FW Functions