Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753539Ab1DUHcp (ORCPT ); Thu, 21 Apr 2011 03:32:45 -0400 Received: from sm-d311v.smileserver.ne.jp ([203.211.202.206]:16448 "EHLO sm-d311v.smileserver.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753037Ab1DUHco (ORCPT ); Thu, 21 Apr 2011 03:32:44 -0400 From: "Tomoya MORINAGA" To: , "'Grant Likely'" Cc: Subject: Question: GPIO driver how to get irq_base Date: Thu, 21 Apr 2011 16:32:42 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acv/9kvE7R9IL59aR0GChqLCrpNnJQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 671 Lines: 22 Hi GPIO maintainer, Need your help. I want to add interrupt function to gpio/pch_gpio.c According to other upstreamed GPIO driver, (e.g. pl061, langwell, etc...) 2 IRQs(irq, irq_base) are used. I can get "irq" from (struct pci_dev *)pdev->irq. However I can't understand where can I get the "irq_base". Let me know how to get. Thanks, ----------------------------------------- Tomoya MORINAGA OKI SEMICONDUCTOR CO., LTD. -- 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/