Selaa lähdekoodia

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>
Dmitry Torokhov 14 vuotta sitten
vanhempi
commit
12d0cef701
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      drivers/input/keyboard/sh_keysc.c

+ 1 - 1
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		= {