sparc: fix possible build error in arch/sparc/include/asm/parport.h
PATCH 1/1 sparc: fix possible build error in arch/sparc/include/asm/parport.h
commit 51dcdfec6a274afc1c6fce180d582add9ff512c0 (parport: Use the PCI IRQ if offered) parport_pc_probe_port() gained an irqflags arg. This isn't being supplied on sparc. This patch make sparc fallback to the old behaviour, that is using 0 for irqflags.
No test.
--- arch/sparc/include/asm/parport.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
arch/sparc/include/asm/parport.h +3 -2
@@ -117,7 +117,7 @@ static int __devinit ecpp_probe(struct of_device *op, const struct of_device_idif (!strcmp (parent->name,"dma" )) { p =parport_pc_probe_port (base, base +0x400 , op->irqs[0 ],PARPORT_DMA_NOFIFO , - op->dev.parent->parent); + op->dev.parent->parent,0 );if (!p)return -ENOMEM ;dev_set_drvdata (&op->dev, p);
@@ -168,7 +168,8 @@ static int __devinit ecpp_probe(struct of_device *op, const struct of_device_id p =parport_pc_probe_port (base, base +0x400 , op->irqs[0 ], slot, - op->dev.parent); + op->dev.parent, +0 ); err = -ENOMEM ;if (!p) goto out_disable_irq;
Signature · 1 line
1.5.3.8
Re: [PATCH] sparc: fix possible build error in
From: Wei Yongjun <[email protected]>
Date: Tue, 14 Apr 2009 14:16:55 +0800
Quoted 8 lines
commit
51dcdfec6a274afc1c6fce180d582add9ff512c0(parport: Use the PCI IRQ if offered)parport_pc_probe_port()gained an irqflags arg. This isn't being supplied on sparc. This patch make sparc fallback to the old behaviour, that is using 0 for irqflags.No test.
Signed-off-by Wei Yongjun <[email protected]>
Applied, thank you.
Re: [PATCH] sparc: fix possible build error in
In reply to Wei YongjunQuoted 4 lines · Wei Yongjun
commit
51dcdfec6a274afc1c6fce180d582add9ff512c0(parport: Use the PCI IRQ if offered)parport_pc_probe_port()gained an irqflags arg. This isn't being supplied on sparc. This patch make sparc fallback to the old behaviour, that is using 0 for irqflags.
FWIW looks like this is already in Linus' tree:
Signature · 1 line
2. That which causes joy or happiness.