aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/ste_rmi4
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-03-19 12:16:32 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-25 11:06:09 -0700
commit7d7d34a1a7f4952944411203e22ce874c8393230 (patch)
treecd5412c6197deaa305e35ec0f57c455f4001e5e0 /drivers/staging/ste_rmi4
parent1c824e7faf49143709617c67c146783ee6e1780d (diff)
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 <sachin.kamat@linaro.org> Cc: Naveen Kumar G <naveen.gaddipati@stericsson.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ste_rmi4')
-rw-r--r--drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
index 6a21f67af08..a126b25c82d 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)
{
/*