From patchwork Thu Jan 26 22:05:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 9540183 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 1BBC8604A0 for ; Thu, 26 Jan 2017 22:06:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0AE3F28306 for ; Thu, 26 Jan 2017 22:06:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F406128329; Thu, 26 Jan 2017 22:06:40 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_SORBS_SPAM, 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 92A0B28306 for ; Thu, 26 Jan 2017 22:06:40 +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 1cWsBj-0004F4-1A; Thu, 26 Jan 2017 22:06:39 +0000 Received: from mail-pg0-f66.google.com ([74.125.83.66]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cWsBe-0003tx-Sg for linux-arm-kernel@lists.infradead.org; Thu, 26 Jan 2017 22:06:36 +0000 Received: by mail-pg0-f66.google.com with SMTP id 75so23295621pgf.3 for ; Thu, 26 Jan 2017 14:06:14 -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=VEO7qtSUJ9Hsdkr0a9dlU0m8X7d0EJpJZeNM95w7AD2lXTAfBf33pkCRSwYGiElfY1 fjpPpccJe6dyWXVMk8zNxGPpl0PKKBOsKo9UjC/IhFewYw/NEemoInfiMtosgpm4OzRb wpTeWBJ0WFtps4+yb2tLdKD1kAVyEpA7FqQqunFpXhM7J6jVu3FKbqoiyu9oEj+96it3 TskIrLfdtChUm+zC/cvBhvePZ37UdHZLSWvwqRacXx9ZhC18vDm4bGDidkkQENKGZvw5 PKQEPnhYImzwXPHR1nriaknO6ebPbNMM71tr8TAVu1LPZq/1nqXGpT+qo2yt4m9DY8w2 EYDg== 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=ChQHqxtvjfiMX/RxFLSF6xrLnGG6nHgkX5EuPOyvA2jAJO2vwPL04f42blNFFbJ3Zt lFbfeZVrZ1VYpFZ+k8p0UpCq6vaWv0kYj2ISym0lqMC1h9l6fNBxwR/cN2DdJU9j4HfL xxulGyvPYK6HlugrohzV479UDvEzeHBvXdBXHk2y7CuuXzWrVdtyHbHIUdTIiRmv/C2L UcyaD4EnCqJrwHxf4bRPQScXTv1028FclrpQiE3yu4AepFubld+wfaIfVNDsosSEIf0L kmOfWBg5KOhkoXh+hVGBgiCi1R3pVn4zBZVyo9UbQfybLq/oSyCg2x9FN8RdRSZGceTK JsnQ== X-Gm-Message-State: AIkVDXLAmVqeGA9MbZTDmJA/D/KT6OMPbb2kNmz3cp+7OMj1IPAijYR2YOp4FaXKNZH7dA== X-Received: by 10.84.172.1 with SMTP id m1mr7193834plb.5.1485468314114; Thu, 26 Jan 2017 14:05:14 -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 u14sm5705592pfg.18.2017.01.26.14.05.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Jan 2017 14:05:13 -0800 (PST) From: Andrey Smirnov To: linux-kernel@vger.kernel.org Subject: [PATCH 3/4] i.MX: GPC: Use IRQCHIP_DECLARE_DRIVER Date: Thu, 26 Jan 2017 14:05:03 -0800 Message-Id: <20170126220504.4796-3-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170126220504.4796-1-andrew.smirnov@gmail.com> References: <20170126220504.4796-1-andrew.smirnov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170126_140634_959370_C5B07367 X-CRM114-Status: GOOD ( 11.09 ) 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) {