Linux PARISC architecture development
 help / color / mirror / Atom feed
* [PATCH] parisc: fix the parameters of call to parport_pc_probe_port()
       [not found] <aea82416ed6c6805412a2631fe8a8be6420c5c9d.1239687192.git.tony@bakeyournoodle.com>
@ 2009-04-14  6:01 ` Wei Yongjun
  2009-04-14 14:13   ` Kyle McMartin
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Yongjun @ 2009-04-14  6:01 UTC (permalink / raw)
  To: Kyle McMartin; +Cc: Matthew Wilcox, Grant Grundler, linux-parisc, Wei Yongjun

commit 51dcdfec6a274afc1c6fce180d582add9ff512c0 (parport: Use the PCI
IRQ if offered) parport_pc_probe_port() gained an irqflags arg. This
break parisc. This patch make parisc fallback to the old behaviour,
that is using "0" for irqflags.

No test.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
---
 drivers/parisc/superio.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/parisc/superio.c b/drivers/parisc/superio.c
index 4fa3bb2..f6727e2 100644
--- a/drivers/parisc/superio.c
+++ b/drivers/parisc/superio.c
@@ -434,7 +434,8 @@ static void __init superio_parport_init(void)
 			0 /*base_hi*/,
 			PAR_IRQ, 
 			PARPORT_DMA_NONE /* dma */,
-			NULL /*struct pci_dev* */) )
+			NULL /*struct pci_dev* */,
+			0))
 
 		printk(KERN_WARNING PFX "Probing parallel port failed.\n");
 #endif	/* CONFIG_PARPORT_PC */
-- 
1.5.3.8





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

* Re: [PATCH] parisc: fix the parameters of call to parport_pc_probe_port()
  2009-04-14  6:01 ` [PATCH] parisc: fix the parameters of call to parport_pc_probe_port() Wei Yongjun
@ 2009-04-14 14:13   ` Kyle McMartin
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle McMartin @ 2009-04-14 14:13 UTC (permalink / raw)
  To: Wei Yongjun; +Cc: Kyle McMartin, Matthew Wilcox, Grant Grundler, linux-parisc

On Tue, Apr 14, 2009 at 02:01:37PM +0800, Wei Yongjun wrote:
> commit 51dcdfec6a274afc1c6fce180d582add9ff512c0 (parport: Use the PCI
> IRQ if offered) parport_pc_probe_port() gained an irqflags arg. This
> break parisc. This patch make parisc fallback to the old behaviour,
> that is using "0" for irqflags.
> 
> No test.
> 

Looks good, thanks, applied.

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

end of thread, other threads:[~2009-04-14 14:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <aea82416ed6c6805412a2631fe8a8be6420c5c9d.1239687192.git.tony@bakeyournoodle.com>
2009-04-14  6:01 ` [PATCH] parisc: fix the parameters of call to parport_pc_probe_port() Wei Yongjun
2009-04-14 14:13   ` Kyle McMartin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox