diff mbox

pci: add pci resource code to build for M68K architecture

Message ID 1342151381-15255-1-git-send-email-gerg@snapgear.com (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Greg Ungerer July 13, 2012, 3:49 a.m. UTC
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(-)

Comments

Bjorn Helgaas July 13, 2012, 3:43 p.m. UTC | #1
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
diff mbox

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