浏览代码

Input: keyboard - staticise non-exported symbols

These symbols are not used outside it's driver so no need to
make the symbol global.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Axel Lin 13 年之前
父节点
当前提交
aeec05171d
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      drivers/input/keyboard/bf54x-keys.c
  2. 1 1
      drivers/input/keyboard/nomadik-ske-keypad.c

+ 1 - 1
drivers/input/keyboard/bf54x-keys.c

@@ -384,7 +384,7 @@ static int bfin_kpad_resume(struct platform_device *pdev)
 # define bfin_kpad_resume  NULL
 #endif
 
-struct platform_driver bfin_kpad_device_driver = {
+static struct platform_driver bfin_kpad_device_driver = {
 	.driver		= {
 		.name	= DRV_NAME,
 		.owner	= THIS_MODULE,

+ 1 - 1
drivers/input/keyboard/nomadik-ske-keypad.c

@@ -379,7 +379,7 @@ static const struct dev_pm_ops ske_keypad_dev_pm_ops = {
 };
 #endif
 
-struct platform_driver ske_keypad_driver = {
+static struct platform_driver ske_keypad_driver = {
 	.driver = {
 		.name = "nmk-ske-keypad",
 		.owner  = THIS_MODULE,