Skip to content

Commit

Permalink
Input: sh_keysc - make sh_keysc_device_driver static
Browse files Browse the repository at this point in the history
This variable is not used outside of the module so we should mark it
as static.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Dmitry Torokhov committed May 3, 2011
1 parent 2dfb9a8 commit 12d0cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/keyboard/sh_keysc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 12d0cef

Please sign in to comment.