From patchwork Mon May 18 14:44:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 6429841 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A03E29F1C1 for ; Mon, 18 May 2015 14:48:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AEB722038E for ; Mon, 18 May 2015 14:48:02 +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 298AE205B9 for ; Mon, 18 May 2015 14:47:57 +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 1YuMIf-0003U5-1N; Mon, 18 May 2015 14:45:49 +0000 Received: from mail-pd0-x232.google.com ([2607:f8b0:400e:c02::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YuMHc-0001ov-LS for linux-arm-kernel@lists.infradead.org; Mon, 18 May 2015 14:44:45 +0000 Received: by pdbnk13 with SMTP id nk13so56962464pdb.1 for ; Mon, 18 May 2015 07:44:23 -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=j2ABnNYH0NQWT/Z+DjMHeLeAXR6JKroJ9LPBImi7cBU=; b=PvaFm/Kzkj70aase81S1sR2aWc+f0kl+7W22gQCvymcxRxLtPh1JMkIWL0F+ojmMH5 eq45w2XMF8N8wcZ+JPKmMZGX/yNeKXqKYlYjY6AB8ws74djJchUxYSGJmYFIof4a6+7Z lE3We/jRbiX/apEcw8hOntJqkUUO6svK2o5fHJCXKPDfaB3bHfDlvkroQvhrIztwtBPK xsII+ehzqobwjbTaMPAVrO1S+XEC4BhLP5YXsftiuiMSne3JExvkXgn9nNTKQUHEI7VG V8KgZnn2B9oAk5av9njnZytGzTfiJAFFcj3xFhyAPsH7MKBsYd76DkYsALmdWOZh3aaf 9EaQ== X-Received: by 10.66.119.174 with SMTP id kv14mr44176224pab.5.1431960263538; Mon, 18 May 2015 07:44:23 -0700 (PDT) Received: from fangorn.rup.mentorg.com (nat-min.mentorg.com. [139.181.32.34]) by mx.google.com with ESMTPSA id mq2sm10298211pbb.16.2015.05.18.07.44.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 May 2015 07:44:22 -0700 (PDT) From: Dmitry Eremin-Solenikov To: Russell King , Thomas Gleixner , Jason Cooper Subject: [RESEND][PATCH 5/5] ARM: sa1100: properly split irqchip driver Date: Mon, 18 May 2015 17:44:07 +0300 Message-Id: <1431960247-32646-5-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1431960247-32646-1-git-send-email-dbaryshkov@gmail.com> References: <1431960247-32646-1-git-send-email-dbaryshkov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150518_074444_761811_B35F9E42 X-CRM114-Status: GOOD ( 15.80 ) X-Spam-Score: -0.8 (/) Cc: Linus Walleij , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Finally properly split the irq driver into generic init code and irqchip driver. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-sa1100/generic.c | 13 +++++++++++++ drivers/irqchip/irq-sa11x0.c | 18 ++++-------------- include/linux/irqchip/irq-sa11x0.h | 16 ++++++++++++++++ 3 files changed, 33 insertions(+), 14 deletions(-) create mode 100644 include/linux/irqchip/irq-sa11x0.h diff --git a/arch/arm/mach-sa1100/generic.c b/arch/arm/mach-sa1100/generic.c index c651f6e..345e63f 100644 --- a/arch/arm/mach-sa1100/generic.c +++ b/arch/arm/mach-sa1100/generic.c @@ -20,6 +20,7 @@ #include #include #include +#include #include