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.stricted.de/?a=commitdiff_plain;h=12d0cef701775f7f52667c33e57a5fe61fa49bd5;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 66eea50fccf..cb4f258477c 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 = {