summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2011-05-02 23:09:19 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-05-03 09:02:01 -0700
commit12d0cef701775f7f52667c33e57a5fe61fa49bd5 (patch)
treebb888950a4cd4acaf0f21a0982b349a02612a495 /drivers/input
parent2dfb9a85ecb86f00b085d6fca7d4bb8dc6764710 (diff)
Input: sh_keysc - make sh_keysc_device_driver static
This variable is not used outside of the module so we should mark it as static. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/keyboard/sh_keysc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/sh_keysc.c b/drivers/input/keyboard/sh_keysc.c
index 66eea50fccf5..cb4f258477ce 100644
--- a/drivers/input/keyboard/sh_keysc.c
+++ b/drivers/input/keyboard/sh_keysc.c
@@ -329,7 +329,7 @@ static const struct dev_pm_ops sh_keysc_dev_pm_ops = {
.resume = sh_keysc_resume,
};
-struct platform_driver sh_keysc_device_driver = {
+static struct platform_driver sh_keysc_device_driver = {
.probe = sh_keysc_probe,
.remove = __devexit_p(sh_keysc_remove),
.driver = {