summaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/csky/include/perf_regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/arch/csky/include/perf_regs.h')
-rw-r--r--tools/perf/arch/csky/include/perf_regs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/arch/csky/include/perf_regs.h b/tools/perf/arch/csky/include/perf_regs.h
index 8f336ea1161a..25ac3bdcb9d1 100644
--- a/tools/perf/arch/csky/include/perf_regs.h
+++ b/tools/perf/arch/csky/include/perf_regs.h
@@ -15,7 +15,7 @@
#define PERF_REG_IP PERF_REG_CSKY_PC
#define PERF_REG_SP PERF_REG_CSKY_SP
-static inline const char *perf_reg_name(int id)
+static inline const char *__perf_reg_name(int id)
{
switch (id) {
case PERF_REG_CSKY_A0: