linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] ARM: orion5x: fix build error in dns323_pci_map_irq
@ 2011-08-21 19:01 Rob Herring
  2011-08-22  9:30 ` Sergei Shtylyov
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2011-08-21 19:01 UTC (permalink / raw)
  To: linux-arm-kernel

From: Rob Herring <rob.herring@calxeda.com>

orion5x fails to build with the following error:
arch/arm/mach-orion5x/dns323-setup.c: In function ?dns323_pci_map_irq?:
arch/arm/mach-orion5x/dns323-setup.c:80:28: error: expected expression before ?const?
arch/arm/mach-orion5x/dns323-setup.c:80:28: error: too few arguments to function ?orion5x_pci_map_irq?

This appears to be a search and replace error introduced from this commit:

commit d5341942d784134f2997b3ff82cd63cf71d1f932
Author:
Date:   Fri Jun 10 15:30:21 2011 +0100

    PCI: Make the struct pci_dev * argument of pci_fixup_irqs const.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Nicolas Pitre <nico@fluxnic.net>
Cc: Arnd Bergmann <arnd@arndb.de>
---
 arch/arm/mach-orion5x/dns323-setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-orion5x/dns323-setup.c b/arch/arm/mach-orion5x/dns323-setup.c
index a6eddae..c105556 100644
--- a/arch/arm/mach-orion5x/dns323-setup.c
+++ b/arch/arm/mach-orion5x/dns323-setup.c
@@ -77,7 +77,7 @@ static int __init dns323_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
 	/*
 	 * Check for devices with hard-wired IRQs.
 	 */
-	irq = orion5x_pci_map_irq(const dev, slot, pin);
+	irq = orion5x_pci_map_irq(dev, slot, pin);
 	if (irq != -1)
 		return irq;
 
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] ARM: orion5x: fix build error in dns323_pci_map_irq
  2011-08-21 19:01 [PATCH 2/2] ARM: orion5x: fix build error in dns323_pci_map_irq Rob Herring
@ 2011-08-22  9:30 ` Sergei Shtylyov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2011-08-22  9:30 UTC (permalink / raw)
  To: linux-arm-kernel

Hello.

On 21-08-2011 23:01, Rob Herring wrote:

> From: Rob Herring<rob.herring@calxeda.com>

> orion5x fails to build with the following error:
> arch/arm/mach-orion5x/dns323-setup.c: In function ?dns323_pci_map_irq?:
> arch/arm/mach-orion5x/dns323-setup.c:80:28: error: expected expression before ?const?
> arch/arm/mach-orion5x/dns323-setup.c:80:28: error: too few arguments to function ?orion5x_pci_map_irq?

> This appears to be a search and replace error introduced from this commit:

> commit d5341942d784134f2997b3ff82cd63cf71d1f932
> Author:

    No author? :-)

> Date:   Fri Jun 10 15:30:21 2011 +0100

>      PCI: Make the struct pci_dev * argument of pci_fixup_irqs const.

> Signed-off-by: Rob Herring<rob.herring@calxeda.com>
> Cc: Ralf Baechle<ralf@linux-mips.org>
> Cc: Nicolas Pitre<nico@fluxnic.net>
> Cc: Arnd Bergmann<arnd@arndb.de>

WBR, Sergei

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-22  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-21 19:01 [PATCH 2/2] ARM: orion5x: fix build error in dns323_pci_map_irq Rob Herring
2011-08-22  9:30 ` Sergei Shtylyov

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).