arm: exynos: cpu: add the return value about non-void type 31/153731/1
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 29 Sep 2017 04:26:28 +0000 (13:26 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 29 Sep 2017 08:24:48 +0000 (17:24 +0900)
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 <jh80.chung@samsung.com>
arch/arm/include/asm/arch-exynos/cpu.h

index e0f37f67d1c1b808cc079bf7639d1de440983e35..8d53d3080ecf744fc31594d34574ccdc7a8faecb 100644 (file)
@@ -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)