Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932158AbVKUBON (ORCPT ); Sun, 20 Nov 2005 20:14:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932161AbVKUBOM (ORCPT ); Sun, 20 Nov 2005 20:14:12 -0500 Received: from atlrel6.hp.com ([156.153.255.205]:64743 "EHLO atlrel6.hp.com") by vger.kernel.org with ESMTP id S932159AbVKUBOL (ORCPT ); Sun, 20 Nov 2005 20:14:11 -0500 From: Matthew Wilcox To: Linus Torvalds , Andrew Morton Cc: Matthew Wilcox , Ingo Molnar , linux-kernel@vger.kernel.org, Jun Komuro Subject: [PATCH 3/5] Fix pd6729.c on architectures which define NO_IRQ Message-Id: Date: Sun, 20 Nov 2005 20:14:08 -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1180 Lines: 43 Use pci_valid_irq() instead of a custom NO_IRQ definition. Signed-off-by: Matthew Wilcox Acked-by: Ingo Molnar --- drivers/pcmcia/pd6729.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) applies-to: 26750e45f268b109d418c91b01a55e124bd879e1 fd1b59b22f926ee7daa097166d9e7ac6005b1284 diff --git a/drivers/pcmcia/pd6729.c b/drivers/pcmcia/pd6729.c index 20642f0..72720f2 100644 --- a/drivers/pcmcia/pd6729.c +++ b/drivers/pcmcia/pd6729.c @@ -39,10 +39,6 @@ MODULE_AUTHOR("Jun Komuro irq == NO_IRQ) + if (!pci_valid_irq(dev->irq)) irq_mode = 0; /* fall back to ISA interrupt mode */ mask = pd6729_isa_scan(); --- 0.99.8.GIT - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/