From mboxrd@z Thu Jan 1 00:00:00 1970 From: robherring2@gmail.com (Rob Herring) Date: Wed, 29 Feb 2012 21:34:08 -0600 Subject: [PATCH 7/8] ARM: OMAP: Remove plat/io.h by moving it into mach/io.h In-Reply-To: <20120301010348.GV18901@atomide.com> References: <20120221233619.18709.87982.stgit@kaulin.local> <20120221234049.18709.28987.stgit@kaulin.local> <4F4451FB.7070007@gmail.com> <20120224000657.GJ18185@atomide.com> <20120224182246.GL18185@atomide.com> <4F4AFCC7.3020509@gmail.com> <20120229014719.GK18901@atomide.com> <4F4EBBDF.9090806@gmail.com> <20120301001140.GA18438@n2100.arm.linux.org.uk> <20120301003939.GU18901@atomide.com> <20120301010348.GV18901@atomide.com> Message-ID: <4F4EEE30.9080109@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 02/29/2012 07:03 PM, Tony Lindgren wrote: > * Tony Lindgren [120229 16:08]: >> * Russell King - ARM Linux [120229 15:40]: >>> On Wed, Feb 29, 2012 at 05:59:27PM -0600, Rob Herring wrote: >>>> BTW, all these includes need to get removed. I'll add a fix to my series >>>> unless you already have fixes: >>>> >>>> arch/arm/mach-omap1/sleep.S:#include >>>> arch/arm/mach-omap1/sram.S:#include >>>> arch/arm/plat-omap/include/plat/sdrc.h:#include >>>> drivers/media/video/davinci/vpbe_osd.c:#include >>>> drivers/media/video/davinci/vpbe_venc.c:#include >>>> drivers/video/omap2/vrfb.c:#include >>> >>> All the ones included from .h and .c files should be using linux/io.h >>> and not some other derivative. >> >> Oops looks like I missed some files while fixing up the .c files. >> The .S files should be able to just use the local header now. >> >> I'll do a patch for that, won't touch the davinci files though. > > Here's the patch to remove mach/io.h for omaps. We can now remove > all of them like Rob suggested :) > > Rob, I assume you'll apply this into your branch? > Yes > Regards, > > Tony > > > From: Tony Lindgren > Date: Wed, 29 Feb 2012 17:01:22 -0800 > Subject: [PATCH] ARM: OMAP: Remove remaining includes for mach/io.h > > These are no longer needed with the recent iomap.h > changes. > > Reported-by: Rob Herring > Signed-off-by: Tony Lindgren > > --- a/arch/arm/mach-omap1/include/mach/entry-macro.S > +++ b/arch/arm/mach-omap1/include/mach/entry-macro.S > @@ -11,7 +11,6 @@ > */ > > #include > -#include > #include > > #include "../../iomap.h" > --- a/arch/arm/mach-omap1/sram.S > +++ b/arch/arm/mach-omap1/sram.S > @@ -12,7 +12,6 @@ > > #include > > -#include > #include > > #include "iomap.h" > --- a/arch/arm/plat-omap/include/plat/sdrc.h > +++ b/arch/arm/plat-omap/include/plat/sdrc.h > @@ -16,8 +16,6 @@ > * published by the Free Software Foundation. > */ > > -#include > - I added iomap.h here as there are macros in the header from it. Rob > /* SDRC register offsets - read/write with sdrc_{read,write}_reg() */ > > #define SDRC_SYSCONFIG 0x010 > --- a/drivers/video/omap2/vrfb.c > +++ b/drivers/video/omap2/vrfb.c > @@ -27,7 +27,6 @@ > #include > #include > > -#include > #include > #include >