From patchwork Thu Jan 26 21:56:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 9540165 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3C6FC601D7 for ; Thu, 26 Jan 2017 21:58:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 311502094F for ; Thu, 26 Jan 2017 21:58:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 25B2428306; Thu, 26 Jan 2017 21:58:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A97742094F for ; Thu, 26 Jan 2017 21:58:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cWs3J-00081g-Qi; Thu, 26 Jan 2017 21:57:57 +0000 Received: from mail-pg0-f68.google.com ([74.125.83.68]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cWs3F-0007zt-Gk for linux-arm-kernel@lists.infradead.org; Thu, 26 Jan 2017 21:57:55 +0000 Received: by mail-pg0-f68.google.com with SMTP id 194so23290822pgd.0 for ; Thu, 26 Jan 2017 13:57:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9qXj/o6m1dlot8IedLKZPi/bMN9bj81h1k+L6WMMS9k=; b=mP9z1ipCxKRi8tVthLzuRTwvMDXBraEzh5M0fI6m8b9pqP0a0s/dMrN+4npySTmvFs 0TN2U37NbyWA1uZYzZBZT4mDIWZw+DDpuBcV1AtADleZ+RzgfSFjpFuefbj0FfeNfTu5 sSaAtPI98DIgvxQ3TE3EIyHXg6mfeTKJTyfIFy+j//kG47w+k2oLRcl/W2Y4qbr2HmUz u5w3M7K4KdUvJpr+HnmGON/nZKrrg9EVh6A7qshZi9jBPjObV6xVLjAoacu7v6HJz2P4 nSzezpZKvllYLQCkKyE3HXnL4HPzYRjVN+wH4XL5vlwa2MDZeumLfuj9waGL/Na9VQjG xeIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9qXj/o6m1dlot8IedLKZPi/bMN9bj81h1k+L6WMMS9k=; b=so9fC+oKqk0Si0I6nPUEenTg/lRPJ+SpzUOIGVnZJBROGcgjX4ffBP+ko6Jcj2bRq5 5Zdim6STmz5O2kU7iyiKaoSeEo7Vymo0VOjf/NRHBYuil3hXrpQfzqc4bHGUAg8S4S1P syFzDgcRd5HddwpmOgZSFrGNOdoUI/sCNO03eiCrB5g56rOP5lYAlqEsFaCpkCGyFuRo WD8gZzSr9n2nBCFMSFTZjKu94IulgCzHQ8sQTLdXUZoKtCtKkF/f4igVboW7jpEf6Fo1 CwQQEHlw9OxKm5pjc5YSDkAl7NTHlLprUj3eX316YW3bSwa8NngHVSmh/J5SsU7GSd1s erAA== X-Gm-Message-State: AIkVDXLWc+vYhRpdpRiu0BoSs6ebDaNsXXG+y/y4eQq7DP+znfVlwuUrGfFerDFthn9mXg== X-Received: by 10.99.127.71 with SMTP id p7mr5583440pgn.125.1485467791843; Thu, 26 Jan 2017 13:56:31 -0800 (PST) Received: from localhost.localdomain (c-73-19-0-61.hsd1.wa.comcast.net. [73.19.0.61]) by smtp.gmail.com with ESMTPSA id b21sm5644748pfl.87.2017.01.26.13.56.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jan 2017 13:56:31 -0800 (PST) From: Andrey Smirnov To: Subject: [PATCH 3/4] i.MX: GPC: Use IRQCHIP_DECLARE_DRIVER Date: Thu, 26 Jan 2017 13:56:08 -0800 Message-Id: <20170126215609.4272-4-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170126215609.4272-1-andrew.smirnov@gmail.com> References: <20170126215609.4272-1-andrew.smirnov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170126_135753_699464_1C697DB9 X-CRM114-Status: GOOD ( 10.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jason Cooper , Andrey Smirnov , Marc Zyngier , Thomas Gleixner , Shawn Guo , linux-arm-kernel@lists.infradead.org, yurovsky@gmail.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Use IRQCHIP_DECLARE_DRIVER instead of Use IRQCHIP_DECLARE to allow 'imx_gpc_driver' to be probed in addition to irqchip initialized by imx_gpc_init(). Cc: yurovsky@gmail.com Cc: Shawn Guo Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Andrey Smirnov --- arch/arm/mach-imx/gpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/gpc.c b/arch/arm/mach-imx/gpc.c index 1dc2a34..8f0d19b 100644 --- a/arch/arm/mach-imx/gpc.c +++ b/arch/arm/mach-imx/gpc.c @@ -279,7 +279,7 @@ static int __init imx_gpc_init(struct device_node *node, return 0; } -IRQCHIP_DECLARE(imx_gpc, "fsl,imx6q-gpc", imx_gpc_init); +IRQCHIP_DECLARE_DRIVER(imx_gpc, "fsl,imx6q-gpc", imx_gpc_init); void __init imx_gpc_check_dt(void) {