Commit 9b07044c authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Dmitry Torokhov

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: default avatarUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 74dd4393
...@@ -257,7 +257,7 @@ static int gpio_keys_resume(struct platform_device *pdev) ...@@ -257,7 +257,7 @@ static int gpio_keys_resume(struct platform_device *pdev)
#define gpio_keys_resume NULL #define gpio_keys_resume NULL
#endif #endif
struct platform_driver gpio_keys_device_driver = { static struct platform_driver gpio_keys_device_driver = {
.probe = gpio_keys_probe, .probe = gpio_keys_probe,
.remove = __devexit_p(gpio_keys_remove), .remove = __devexit_p(gpio_keys_remove),
.suspend = gpio_keys_suspend, .suspend = gpio_keys_suspend,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment