Input: sh_keysc - make sh_keysc_device_driver static
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 3 May 2011 06:09:19 +0000 (23:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 3 May 2011 16:02:01 +0000 (09:02 -0700)
This variable is not used outside of the module so we should mark it
as static.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/sh_keysc.c

index 66eea50fccf52eaeacf86711328c7577f3f4d2e8..cb4f258477cef1836bb17a6ebb91db6a45f93d29 100644 (file)
@@ -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         = {