From b966801a2ea761e4afc969a3866bc2c8bdf433a3 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Fri, 29 Sep 2017 13:26:28 +0900 Subject: [PATCH] arm: exynos: cpu: add the return value about non-void type It doesn't have the non-void return type. If it doesn't match anything, it should be returned as void type. This patch is fixed it after adding the return value. Change-Id: I0f5c7f41aea36da486ed07a0c64a179b53a403d5 Signed-off-by: Jaehoon Chung --- arch/arm/include/asm/arch-exynos/cpu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/asm/arch-exynos/cpu.h index e0f37f67d..8d53d3080 100644 --- a/arch/arm/include/asm/arch-exynos/cpu.h +++ b/arch/arm/include/asm/arch-exynos/cpu.h @@ -278,6 +278,8 @@ static inline unsigned int s5p_get_cpu_id(void) /* Exynos3250 */ return 0x3250; } + + return 0; } static inline void s5p_set_cpu_id(void) -- 2.34.1