[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1302213993-32737-1-git-send-email-chihau@gmail.com>
Date: Thu, 7 Apr 2011 19:06:33 -0300
From: Chihau Chau <chihau@...il.com>
To: davidb@...eaurora.org, dwalker@...o99.com, bryanh@...eaurora.org,
linux@....linux.org.uk, gregkh@...e.de
Cc: linux-arm-msm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Chihau Chau <chihau@...il.com>
Subject: [PATCH] arm: mach-msm: acpuclock-arm11: Using __func__ instead __FUNCTION__
Changing the __FUNCTION__ variable for the C99 standard __func__
Signed-off-by: Chihau Chau <chihau@...il.com>
---
arch/arm/mach-msm/acpuclock-arm11.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-msm/acpuclock-arm11.c b/arch/arm/mach-msm/acpuclock-arm11.c
index d716cf1..18ba209 100644
--- a/arch/arm/mach-msm/acpuclock-arm11.c
+++ b/arch/arm/mach-msm/acpuclock-arm11.c
@@ -379,7 +379,7 @@ int acpuclk_set_rate(unsigned long rate, int for_power_collapse)
}
#if PERF_SWITCH_STEP_DEBUG
printk(KERN_DEBUG "%s: STEP khz = %u, pll = %d\n",
- __FUNCTION__, cur_s->a11clk_khz, cur_s->pll);
+ __func__, cur_s->a11clk_khz, cur_s->pll);
#endif
if (!for_power_collapse && cur_s->pll != ACPU_PLL_TCXO
&& !(plls_enabled & (1 << cur_s->pll))) {
@@ -428,7 +428,7 @@ int acpuclk_set_rate(unsigned long rate, int for_power_collapse)
}
#if PERF_SWITCH_DEBUG
- printk(KERN_DEBUG "%s: ACPU speed change complete\n", __FUNCTION__);
+ printk(KERN_DEBUG "%s: ACPU speed change complete\n", __func__);
#endif
out:
if (!for_power_collapse)
--
1.7.3.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists