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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=12d0cef701775f7f52667c33e57a5fe61fa49bd5;p=linux-beck.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 = {