linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: mach-iop13xx: fix parameter declaration of iq81340sc_atux_map_irq
@ 2012-04-24 12:36 Reinhard Tartler
  0 siblings, 0 replies; only message in thread
From: Reinhard Tartler @ 2012-04-24 12:36 UTC (permalink / raw)
  To: Russell King
  Cc: Reinhard Tartler, linux-arm-kernel, linux-kernel, vamos-dev,
	Reinhard Tartler

From: Reinhard Tartler <siretart@tauware.de>

Fixes the following compiler warning:
arch/arm/mach-iop13xx/iq81340sc.c:63: warning: initialization from incompatible pointer type | warning: (near initialization for ‘iq81340sc_pci.map_irq’)

Signed-off-by: Reinhard Tartler <tartler@cs.fau.de>
---
 arch/arm/mach-iop13xx/iq81340sc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-iop13xx/iq81340sc.c b/arch/arm/mach-iop13xx/iq81340sc.c
index cd9e274..70e8db0 100644
--- a/arch/arm/mach-iop13xx/iq81340sc.c
+++ b/arch/arm/mach-iop13xx/iq81340sc.c
@@ -30,7 +30,7 @@
 extern int init_atu;
 
 static int __init
-iq81340sc_atux_map_irq(struct pci_dev *dev, u8 idsel, u8 pin)
+iq81340sc_atux_map_irq(const struct pci_dev *dev, u8 idsel, u8 pin)
 {
 	WARN_ON(idsel < 1 || idsel > 2);
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-24 12:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-24 12:36 [PATCH] ARM: mach-iop13xx: fix parameter declaration of iq81340sc_atux_map_irq Reinhard Tartler

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