[PATCH 1/2] ARM: OMAP: Split vrfb.c to remove last remaining cpu_is_omap usage

Tomi Valkeinen tomi.valkeinen at ti.com
Mon Dec 17 04:31:08 EST 2012


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 <tomi.valkeinen at ti.com>
> Signed-off-by: Tony Lindgren <tony at atomide.com>
> ---
>  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: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121217/f46adcb7/attachment.sig>


More information about the linux-arm-kernel mailing list