From 1473c5553610d9fc871f824c6e11544a95c9848a Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Thu, 28 Sep 2017 15:23:19 +0900 Subject: [PATCH 1/1] arm: sc8830: sprd_module_config: remove the duplicated defined value KPD_NUM is already defined. (0x01 << 16) | (0x03 << 20) is same with (0x31 << 16). Change-Id: Ieef99d7f9c32ea7170f16814bccad718ef730ef3 Signed-off-by: Jaehoon Chung --- arch/arm/include/asm/arch-sc8830/sprd_module_config.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/include/asm/arch-sc8830/sprd_module_config.h b/arch/arm/include/asm/arch-sc8830/sprd_module_config.h index d262b0d..41b20c2 100644 --- a/arch/arm/include/asm/arch-sc8830/sprd_module_config.h +++ b/arch/arm/include/asm/arch-sc8830/sprd_module_config.h @@ -51,8 +51,6 @@ extern "C" #define KPD_NUM ((0x01 << 16) | (0x03 << 20))//KPDCTL_KPD ;// 5*5 #endif -#define KPD_NUM (0x31 << 16) - /**---------------------------------------------------------------------------* ** Macro Define for pwm ** **---------------------------------------------------------------------------*/ -- 2.7.4