You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
input: sensors: accel: mc3230: Fix compilation error when enable early suspend
drivers/input/sensors/accel/mc3230.c:150:29: error: unused variable 'mc3230_early_suspend' [-Werror,-Wunused-variable] Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> Change-Id: I01c26adcd5750343f938918113cb2bab70319555
This commit is contained in:
@@ -146,10 +146,6 @@ static int g_value;
|
||||
/* Addresses to scan -- protected by sense_data_mutex */
|
||||
static struct i2c_client *this_client;
|
||||
|
||||
#ifdef CONFIG_HAS_EARLYSUSPEND
|
||||
static struct early_suspend mc3230_early_suspend;
|
||||
#endif
|
||||
|
||||
/* status */
|
||||
#define MC3230_OPEN 1
|
||||
#define MC3230_CLOSE 0
|
||||
|
||||
Reference in New Issue
Block a user