Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753169AbbDFVjl (ORCPT ); Mon, 6 Apr 2015 17:39:41 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:63404 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752753AbbDFVjj (ORCPT ); Mon, 6 Apr 2015 17:39:39 -0400 From: Arnd Bergmann To: Geert Uytterhoeven Cc: Grant Likely , Rob Herring , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 2/3] of: OF_IRQ should depend on IRQ_DOMAIN Date: Mon, 06 Apr 2015 23:39:31 +0200 Message-ID: <2467778.3jbCGZlsKM@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <1428245965-19618-1-git-send-email-geert@linux-m68k.org> <4981781.UvXHorNsu5@wuerfel> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:B8WaOidbSDdyIQOT7jtMrI91/lmGxjVhQ/b87CT79E3HbTSbnMf KjI+IgteMjEZ/nbsJ7PZZeqGg0f8XBsMZMc7VBKuxdDSTXU4LR9RbjtTN3Qaf7zg3L9yVuj byauXx687e14WG2AfSTjDOXxkg9+ZrwKZjGvSd3LCJCqQkC6zaSoQ/YybcREjD/NXqDVXAR k/l0a3L3uChzYVbW6jsIg== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 688 Lines: 27 On Monday 06 April 2015 17:26:57 Geert Uytterhoeven wrote: > Given drivers/base/platform.c: > > int platform_get_irq(struct platform_device *dev, unsigned int num) > { > #ifdef CONFIG_SPARC > ... > #else > struct resource *r; > if (IS_ENABLED(CONFIG_OF_IRQ) && dev->dev.of_node) { > ... > } > ... > #endif > } > > yes I do want to keep it explicit. > Ok, makes sense, thanks! Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/