Input: keyboard - staticise non-exported symbols
authorAxel Lin <axel.lin@gmail.com>
Mon, 12 Dec 2011 07:45:26 +0000 (23:45 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 12 Dec 2011 08:03:00 +0000 (00:03 -0800)
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>
drivers/input/keyboard/bf54x-keys.c
drivers/input/keyboard/nomadik-ske-keypad.c

index 683e31456f0ee7e51a1add77da6e834f32a32f5b..8eb9116e0a5f0503de60e89d8213ff855ec8ab60 100644 (file)
@@ -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,
index 6c4828f8ebd192960c39095b6ed53cdf809b15ed..5a71e55c9c54e2c6f532ef70e0cc114b49eeeb67 100644 (file)
@@ -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,