From patchwork Tue Apr 14 06:01:37 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 18037 X-Patchwork-Delegate: kyle@mcmartin.ca Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3E63AIM028215 for ; Tue, 14 Apr 2009 06:03:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751496AbZDNGDJ (ORCPT ); Tue, 14 Apr 2009 02:03:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751736AbZDNGDJ (ORCPT ); Tue, 14 Apr 2009 02:03:09 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:57379 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751496AbZDNGDI (ORCPT ); Tue, 14 Apr 2009 02:03:08 -0400 Received: from tang.cn.fujitsu.com (tang.cn.fujitsu.com [10.167.250.3]) by song.cn.fujitsu.com (Postfix) with ESMTP id 18BCF17014E; Tue, 14 Apr 2009 14:52:17 +0800 (CST) Received: from fnst.cn.fujitsu.com (localhost.localdomain [127.0.0.1]) by tang.cn.fujitsu.com (8.13.1/8.13.1) with ESMTP id n3E638M8030962; Tue, 14 Apr 2009 14:03:08 +0800 Received: from [127.0.0.1] (unknown [10.167.141.76]) by fnst.cn.fujitsu.com (Postfix) with ESMTP id 4EB2DD4016; Tue, 14 Apr 2009 14:08:57 +0800 (CST) Message-ID: <49E426C1.50706@cn.fujitsu.com> Date: Tue, 14 Apr 2009 14:01:37 +0800 From: Wei Yongjun User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Kyle McMartin CC: Matthew Wilcox , Grant Grundler , linux-parisc@vger.kernel.org, Wei Yongjun Subject: [PATCH] parisc: fix the parameters of call to parport_pc_probe_port() References: In-Reply-To: Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org 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 --- 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 */