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 66eea50..cb4f258 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         = {