From: Dmitry Torokhov Date: Tue, 3 May 2011 06:09:19 +0000 (-0700) Subject: Input: sh_keysc - make sh_keysc_device_driver static X-Git-Tag: firefly_0821_release~176^2~541^2~420^2~25 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=12d0cef701775f7f52667c33e57a5fe61fa49bd5;p=firefly-linux-kernel-4.4.55.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 --- diff --git a/drivers/input/keyboard/sh_keysc.c b/drivers/input/keyboard/sh_keysc.c index 66eea50fccf5..cb4f258477ce 100644 --- a/drivers/input/keyboard/sh_keysc.c +++ b/drivers/input/keyboard/sh_keysc.c @@ -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 = {