From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nishanth Menon Subject: [PATCH 1/6] omap1: rename check_revision Date: Sat, 22 May 2010 22:36:34 -0500 Message-ID: <1274585799-16226-2-git-send-email-nm@ti.com> References: <1274585799-16226-1-git-send-email-nm@ti.com> Return-path: Received: from devils.ext.ti.com ([198.47.26.153]:39312 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754261Ab0EWDgv (ORCPT ); Sat, 22 May 2010 23:36:51 -0400 In-Reply-To: <1274585799-16226-1-git-send-email-nm@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org Cc: Nishanth Menon , Tony Lindgren , Angelo Arrifano , "Zebediah C. McClure" , Alistair Buxton , Paul Walmsley , Sanjeev Premi , Santosh Shilimkar , Senthilvadivu Gurusamy , Kevin Hilman , Tomi Valkeinen , Aaro Koskinen , Vikram Pandita , Vishwanath S , linux-omap@vger.kernel.org Rename omap_check_revision to omap1_check_revision to make it evident that this is omap1 features to check. This will allow us to introduce a omap generic check feature capability Cc: Tony Lindgren Cc: Angelo Arrifano Cc: "Zebediah C. McClure" Cc: Alistair Buxton Cc: Paul Walmsley Cc: Sanjeev Premi Cc: Santosh Shilimkar Cc: Senthilvadivu Gurusamy Cc: Kevin Hilman Cc: Tomi Valkeinen Cc: Aaro Koskinen Cc: Vikram Pandita Cc: Vishwanath S Cc: linux-omap@vger.kernel.org Signed-off-by: Nishanth Menon --- arch/arm/mach-omap1/id.c | 2 +- arch/arm/mach-omap1/io.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap1/id.c b/arch/arm/mach-omap1/id.c index a0e3560..91dbb71 100644 --- a/arch/arm/mach-omap1/id.c +++ b/arch/arm/mach-omap1/id.c @@ -118,7 +118,7 @@ static u8 __init omap_get_die_rev(void) return die_rev; } -void __init omap_check_revision(void) +void __init omap1_check_revision(void) { int i; u16 jtag_id; diff --git a/arch/arm/mach-omap1/io.c b/arch/arm/mach-omap1/io.c index f872406..0178d33 100644 --- a/arch/arm/mach-omap1/io.c +++ b/arch/arm/mach-omap1/io.c @@ -21,7 +21,7 @@ #include "clock.h" -extern void omap_check_revision(void); +extern void omap1_check_revision(void); extern void omap_sram_init(void); /* @@ -103,7 +103,7 @@ void __init omap1_map_common_io(void) /* We want to check CPU revision early for cpu_is_omapxxxx() macros. * IO space mapping must be initialized before we can do that. */ - omap_check_revision(); + omap1_check_revision(); #if defined (CONFIG_ARCH_OMAP730) || defined (CONFIG_ARCH_OMAP850) if (cpu_is_omap7xx()) { -- 1.6.3.3