From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 7/9] ARM: OMAP2+: Prepare for irqs.h removal Date: Tue, 4 Sep 2012 18:14:24 -0700 Message-ID: <20120905011423.GZ1303@atomide.com> References: <20120831004828.28732.902.stgit@muffinssi.local> <20120831005237.28732.96766.stgit@muffinssi.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:17811 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752847Ab2IEBO1 (ORCPT ); Tue, 4 Sep 2012 21:14:27 -0400 Content-Disposition: inline In-Reply-To: <20120831005237.28732.96766.stgit@muffinssi.local> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: linux-arm-kernel@lists.infradead.org Cc: linux-omap@vger.kernel.org, Omar Ramirez Luna , Greg Kroah-Hartman * Tony Lindgren [120830 17:53]: > As the interrupts should only be defined in the platform_data, and > eventually coming from device tree, there's no need to define them > in header files. > > Let's remove the hardcoded references to irqs.h and fix up the includes > so we don't rely on headers included in irqs.h. While at it, sort > the includes the standard way. Turns out this patch was not quite working with SPARSE_IRQ, we have to add OMAP_INTC_START for that. Also fixed up is compile for drivers/staging/tidspbridge. Updated patch below. Regards, Tony From: Tony Lindgren Date: Mon, 27 Aug 2012 17:43:01 -0700 Subject: [PATCH] ARM: OMAP2+: Prepare for irqs.h removal As the interrupts should only be defined in the platform_data, and eventually coming from device tree, there's no need to define them in header files. Let's remove the hardcoded references to irqs.h and fix up the includes so we don't rely on headers included in irqs.h. Note that we're defining OMAP_INTC_START as 0 to the interrupts. This will be needed when we enable SPARSE_IRQ. While at it, sort the includes the standard way, and add the trailing commas where they are missing in the related data structures. Note that for drivers/staging/tidspbridge we just define things locally. Signed-off-by: Tony Lindgren diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index cacc498..7e31981 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c @@ -28,19 +28,20 @@ #include #include -#include #include #include #include -#include "common.h" #include #include #include +#include + #include