Input: gpio-keys - make gpio_keys_device_driver static
This fixes the sparse warning symbol 'gpio_keys_device_driver' was not declared. Should it be static? Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
74dd439344
commit
9b07044cd8
|
@ -257,7 +257,7 @@ static int gpio_keys_resume(struct platform_device *pdev)
|
|||
#define gpio_keys_resume NULL
|
||||
#endif
|
||||
|
||||
struct platform_driver gpio_keys_device_driver = {
|
||||
static struct platform_driver gpio_keys_device_driver = {
|
||||
.probe = gpio_keys_probe,
|
||||
.remove = __devexit_p(gpio_keys_remove),
|
||||
.suspend = gpio_keys_suspend,
|
||||
|
|
Loading…
Reference in New Issue