From patchwork Tue May 20 21:09:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 4213071 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B60529F32A for ; Tue, 20 May 2014 21:19:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DE2D42035D for ; Tue, 20 May 2014 21:19:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 288E020320 for ; Tue, 20 May 2014 21:19:51 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WmrPR-0002Hw-1A; Tue, 20 May 2014 21:17:17 +0000 Received: from mail-oa0-x234.google.com ([2607:f8b0:4003:c02::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WmrPO-0002Ao-Il for linux-arm-kernel@lists.infradead.org; Tue, 20 May 2014 21:17:14 +0000 Received: by mail-oa0-f52.google.com with SMTP id eb12so1217473oac.25 for ; Tue, 20 May 2014 14:16:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3yA9TmX6ap710i9NKM2j4LOZw5IZ9kZDPZc4t/pEoPA=; b=RdSbrEpq9sXoJDPafJfUxVcf284pEGohxark9vsXO4gEO+3oSBxFQUNhUW3G5OE9/W DKY6iBDZGItzGRWoHTLppQiXS4YlAo9RjeGA6B9uTM90QxWvRk4yegzbPf+i+2h9xKaK 55qpml8bot+K2d/2osqNzARNeXS81HwAle5cztQlLqW2S95sNoLh23AkQcB/sWN244cU xrIZFd2UQZm7tncazjhLg9cdhg09Bo6bTNgWHRDMUfQ+S90GqHJDsoNEHO14ze7/iu0W /5ZizGFSBg7r9FUo6QBN1izX5VpdumDEfytu7wrLFNKxuqSSmZtXQoVMojLwFDND/DME T42g== X-Received: by 10.182.229.34 with SMTP id sn2mr47054138obc.6.1400620194574; Tue, 20 May 2014 14:09:54 -0700 (PDT) Received: from localhost.localdomain (66-90-144-10.dyn.grandenetworks.net. [66.90.144.10]) by mx.google.com with ESMTPSA id qp6sm39817593obb.14.2014.05.20.14.09.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 May 2014 14:09:53 -0700 (PDT) From: Rob Herring To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 04/10] irqchip: versatile-fpga: add DT init Date: Tue, 20 May 2014 16:09:30 -0500 Message-Id: <1400620176-7239-5-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1400620176-7239-1-git-send-email-robherring2@gmail.com> References: <1400620176-7239-1-git-send-email-robherring2@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140520_141714_673632_7575BC59 X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.1 (/) Cc: Rob Herring , linus.walleij@linaro.org, arm@kernel.org, Thomas Gleixner , Jason Cooper X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rob Herring Add IRQCHIP_DECLARE call for the versatile-fpga interrupt controller so that initialization from DT will work. Signed-off-by: Rob Herring Cc: Thomas Gleixner Cc: Jason Cooper --- drivers/irqchip/irq-versatile-fpga.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/irqchip/irq-versatile-fpga.c b/drivers/irqchip/irq-versatile-fpga.c index 328440b..11ab10d 100644 --- a/drivers/irqchip/irq-versatile-fpga.c +++ b/drivers/irqchip/irq-versatile-fpga.c @@ -14,6 +14,8 @@ #include #include +#include "irqchip.h" + #define IRQ_STATUS 0x00 #define IRQ_RAW_STATUS 0x04 #define IRQ_ENABLE_SET 0x08 @@ -217,4 +219,5 @@ int __init fpga_irq_of_init(struct device_node *node, return 0; } +IRQCHIP_DECLARE(arm_fpga, "arm,versatile-sic", fpga_irq_of_init); #endif