From cadbe57dae60d09eb5b5a8df4f4134d1bddd3b0d Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Sun, 16 Feb 2025 17:07:09 +0800 Subject: [PATCH] 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 Change-Id: I95932a5cfbb38cd0f5019d965accfd3d07f79000 --- drivers/input/sensors/gyro/ewtsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/sensors/gyro/ewtsa.c b/drivers/input/sensors/gyro/ewtsa.c index 9ebfe0513c67..077bfd4ee590 100644 --- a/drivers/input/sensors/gyro/ewtsa.c +++ b/drivers/input/sensors/gyro/ewtsa.c @@ -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);