mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
input: sensors: gyro: ewtsa: Fix missing prototypes
drivers/input/sensors/gyro/ewtsa.c:281:6: error: no previous prototype for function 'gyro_dev_reset' [-Werror,-Wmissing-prototypes] Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: I95932a5cfbb38cd0f5019d965accfd3d07f79000
This commit is contained in:
@@ -278,7 +278,7 @@ static int ewtsa_enable(struct i2c_client *client)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void gyro_dev_reset(struct i2c_client *client)
|
||||
static void gyro_dev_reset(struct i2c_client *client)
|
||||
{
|
||||
struct sensor_private_data *sensor =
|
||||
(struct sensor_private_data *) i2c_get_clientdata(client);
|
||||
|
||||
Reference in New Issue
Block a user