From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Tue, 4 Sep 2012 18:14:24 -0700 Subject: [PATCH 7/9] ARM: OMAP2+: Prepare for irqs.h removal In-Reply-To: <20120831005237.28732.96766.stgit@muffinssi.local> References: <20120831004828.28732.902.stgit@muffinssi.local> <20120831005237.28732.96766.stgit@muffinssi.local> Message-ID: <20120905011423.GZ1303@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * 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