From mboxrd@z Thu Jan 1 00:00:00 1970 From: tomi.valkeinen@ti.com (Tomi Valkeinen) Date: Mon, 17 Dec 2012 11:31:08 +0200 Subject: [PATCH 1/2] ARM: OMAP: Split vrfb.c to remove last remaining cpu_is_omap usage In-Reply-To: <20121216200314.24238.9481.stgit@muffinssi.local> References: <20121216200236.24238.38151.stgit@muffinssi.local> <20121216200314.24238.9481.stgit@muffinssi.local> Message-ID: <50CEE65C.20009@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 2012-12-16 22:03, Tony Lindgren wrote: > Looks like we missed plat-omap/fb.c for cpu_is_omap usage > mach-omap2. This is the last user of cpu_is_omap, so let's > quickly fix it up so we can finally remove plat/cpu.h for > omap2lus. > > We want to limit cpu_is_omap macro usage to mach-omap2 only so > we can make plat/cpu.h private. After this we can finally drop > plat/cpu.h for omap2+. > > Cc: Tomi Valkeinen > Signed-off-by: Tony Lindgren > --- > arch/arm/mach-omap1/Makefile | 2 + > arch/arm/mach-omap1/fb.c | 80 ++++++++++++++++++++++++++++++++++++++++++ > arch/arm/mach-omap2/Makefile | 2 + > arch/arm/mach-omap2/fb.c | 50 +------------------------- > arch/arm/plat-omap/Makefile | 2 + > 5 files changed, 85 insertions(+), 51 deletions(-) > create mode 100644 arch/arm/mach-omap1/fb.c > rename arch/arm/{plat-omap/fb.c => mach-omap2/fb.c} (76%) Ok, I didn't realize that plat-omap cannot refer to cpu_is_omap either. The patch looks fine, except the subject should say "split fb.c", not "split vrfb.c". Tomi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 899 bytes Desc: OpenPGP digital signature URL: