From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754657AbbKQUHf (ORCPT ); Tue, 17 Nov 2015 15:07:35 -0500 Received: from www.linutronix.de ([62.245.132.108]:51636 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753785AbbKQUHe (ORCPT ); Tue, 17 Nov 2015 15:07:34 -0500 Date: Tue, 17 Nov 2015 21:06:47 +0100 (CET) From: Thomas Gleixner To: Jason Cooper cc: Alban Bedel , linux-mips@linux-mips.org, Ralf Baechle , Marc Zyngier , Alexander Couzens , Joel Porquet , Andrew Bresticker , linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/6] MIPS: ath79: irq: Move the MISC driver to drivers/irqchip In-Reply-To: <20151117200327.GA6520@io.lakedaemon.net> Message-ID: References: <1447788896-15553-1-git-send-email-albeu@free.fr> <1447788896-15553-5-git-send-email-albeu@free.fr> <20151117200327.GA6520@io.lakedaemon.net> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 17 Nov 2015, Jason Cooper wrote: > Hi Alban, > > On Tue, Nov 17, 2015 at 08:34:54PM +0100, Alban Bedel wrote: > > The driver stays the same but the initialization changes a bit. > > For OF boards we now get the memory map from the OF node and use > > a linear mapping instead of the legacy mapping. For legacy boards > > we still use a legacy mapping and just pass down all the parameters > > from the board init code. > > > > Signed-off-by: Alban Bedel > > --- > > arch/mips/ath79/irq.c | 163 +++------------------------ > > arch/mips/include/asm/mach-ath79/ath79.h | 3 + > > drivers/irqchip/Makefile | 1 + > > drivers/irqchip/irq-ath79-misc.c | 182 +++++++++++++++++++++++++++++++ > > 4 files changed, 201 insertions(+), 148 deletions(-) > > create mode 100644 drivers/irqchip/irq-ath79-misc.c > ... > > diff --git a/drivers/irqchip/Makefile b/drivers/irqchip/Makefile > > index 177f78f..a8f9075 100644 > > --- a/drivers/irqchip/Makefile > > +++ b/drivers/irqchip/Makefile > > @@ -1,5 +1,6 @@ > > obj-$(CONFIG_IRQCHIP) += irqchip.o > > > > +obj-$(CONFIG_ATH79) += irq-ath79-misc.o > > obj-$(CONFIG_ARCH_BCM2835) += irq-bcm2835.o > > obj-$(CONFIG_ARCH_BCM2835) += irq-bcm2836.o > > obj-$(CONFIG_ARCH_EXYNOS) += exynos-combiner.o > > CONFIG_ARCH_ATH79 ? Nope. arch/mips/Kconfig:config ATH79