diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-12 02:45:26 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-12-12 03:03:00 -0500 |
commit | aeec05171d45700d9e97fec485afea0f19bc2635 (patch) | |
tree | 0f14697f85c0f52b7608cc78f63a2d3d33e03355 /drivers/input | |
parent | 18b2b1813f51a314d2468d0c103e593936e5f534 (diff) |
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>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/keyboard/bf54x-keys.c | 2 | ||||
-rw-r--r-- | drivers/input/keyboard/nomadik-ske-keypad.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/keyboard/bf54x-keys.c b/drivers/input/keyboard/bf54x-keys.c index 683e31456f0e..8eb9116e0a5f 100644 --- a/drivers/input/keyboard/bf54x-keys.c +++ b/drivers/input/keyboard/bf54x-keys.c | |||
@@ -384,7 +384,7 @@ static int bfin_kpad_resume(struct platform_device *pdev) | |||
384 | # define bfin_kpad_resume NULL | 384 | # define bfin_kpad_resume NULL |
385 | #endif | 385 | #endif |
386 | 386 | ||
387 | struct platform_driver bfin_kpad_device_driver = { | 387 | static struct platform_driver bfin_kpad_device_driver = { |
388 | .driver = { | 388 | .driver = { |
389 | .name = DRV_NAME, | 389 | .name = DRV_NAME, |
390 | .owner = THIS_MODULE, | 390 | .owner = THIS_MODULE, |
diff --git a/drivers/input/keyboard/nomadik-ske-keypad.c b/drivers/input/keyboard/nomadik-ske-keypad.c index 6c4828f8ebd1..5a71e55c9c54 100644 --- a/drivers/input/keyboard/nomadik-ske-keypad.c +++ b/drivers/input/keyboard/nomadik-ske-keypad.c | |||
@@ -379,7 +379,7 @@ static const struct dev_pm_ops ske_keypad_dev_pm_ops = { | |||
379 | }; | 379 | }; |
380 | #endif | 380 | #endif |
381 | 381 | ||
382 | struct platform_driver ske_keypad_driver = { | 382 | static struct platform_driver ske_keypad_driver = { |
383 | .driver = { | 383 | .driver = { |
384 | .name = "nmk-ske-keypad", | 384 | .name = "nmk-ske-keypad", |
385 | .owner = THIS_MODULE, | 385 | .owner = THIS_MODULE, |