summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDmitry Torokhov2011-05-03 08:09:19 +0200
committerDmitry Torokhov2011-05-03 18:02:01 +0200
commit12d0cef701775f7f52667c33e57a5fe61fa49bd5 (patch)
treebb888950a4cd4acaf0f21a0982b349a02612a495 /drivers
parentInput: sh_keysc - switch to threaded IRQ handler (diff)
downloadkernel-qcow2-linux-12d0cef701775f7f52667c33e57a5fe61fa49bd5.tar.gz
kernel-qcow2-linux-12d0cef701775f7f52667c33e57a5fe61fa49bd5.tar.xz
kernel-qcow2-linux-12d0cef701775f7f52667c33e57a5fe61fa49bd5.zip
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')
-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 = {