From 7d7d34a1a7f4952944411203e22ce874c8393230 Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Tue, 19 Mar 2013 12:16:32 +0530 Subject: [PATCH] staging: ste_rmi4: Make synaptics_rmi4_touchpad_config symbol static 'synaptics_rmi4_touchpad_config' is used only in this file. Make it static. Silences the following sparse warning: drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c:652:5: warning: symbol 'synaptics_rmi4_touchpad_config' was not declared. Should it be static? Signed-off-by: Sachin Kamat Cc: Naveen Kumar G Signed-off-by: Greg Kroah-Hartman --- drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c index 6a21f67af086..a126b25c82d5 100644 --- a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c +++ b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c @@ -649,7 +649,7 @@ static int synpatics_rmi4_touchpad_detect(struct synaptics_rmi4_data *pdata, * * This function calls to configures the rmi4 touchpad device */ -int synaptics_rmi4_touchpad_config(struct synaptics_rmi4_data *pdata, +static int synaptics_rmi4_touchpad_config(struct synaptics_rmi4_data *pdata, struct synaptics_rmi4_fn *rfi) { /* -- 2.34.1