Changing the __FUNCTION__ variable for the C99 standard __func__

Signed-off-by: Chihau Chau <[email protected]>
---
 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-arm-msm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to