Commit 7d7d34a1 authored by Sachin Kamat's avatar Sachin Kamat Committed by Greg Kroah-Hartman

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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Cc: Naveen Kumar G <naveen.gaddipati@stericsson.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1c824e7f
...@@ -649,7 +649,7 @@ static int synpatics_rmi4_touchpad_detect(struct synaptics_rmi4_data *pdata, ...@@ -649,7 +649,7 @@ static int synpatics_rmi4_touchpad_detect(struct synaptics_rmi4_data *pdata,
* *
* This function calls to configures the rmi4 touchpad device * 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) struct synaptics_rmi4_fn *rfi)
{ {
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment