Skip to contentSkip to conversation

parisc/superio: fix build breakage

PATCH In review Alexander Beregalov 2 participants 2 messages Apr 16, 2009 PA-RISC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 parisc/superio: fix build breakage

Usage of parport_pc_probe_port was changed in 28783eb52 (parport: Fix various uses of parport_pc).

It introduced this build error:
drivers/parisc/superio.c: In function 'superio_parport_init':
drivers/parisc/superio.c:437: error: too few arguments to function
'parport_pc_probe_port'

Fix it.

---
 drivers/parisc/superio.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/parisc/superio.c +2 -2
index 33e5ade..9ab9796 100644
@@ -434,8 +434,8 @@ static void __init superio_parport_init(void)
 			0 /*base_hi*/,
 			PAR_IRQ, 
 			PARPORT_DMA_NONE /* dma */,
-			NULL /*struct pci_dev* */),
-			0 /* shared irq flags */ )
+			NULL /*struct pci_dev* */,
+			0 /* shared irq flags */))
 
 		printk(KERN_WARNING PFX "Probing parallel port failed.\n");
 #endif	/* CONFIG_PARPORT_PC */
Signature · 1 line
1.6.2.3
#1 lore raw
Quoted 11 lines · Alexander Beregalov

Usage of parport_pc_probe_port was changed in 28783eb52 (parport: Fix various uses of parport_pc).

It introduced this build error:
drivers/parisc/superio.c: In function 'superio_parport_init':
drivers/parisc/superio.c:437: error: too few arguments to function
'parport_pc_probe_port'

Fix it.

Hi Alexander,

Wei Yongjun sent this patch in a few days ago, and I've applied it, but it appears I forgot to update patchwork or push out the fixes branch.

Cheers, Kyle