mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
2dfb9a85ec
commit
12d0cef701
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue