aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>2008-07-30 10:34:02 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-07-30 10:40:44 -0400
commit9b07044cd8bd15fb5991e9b27136979a43538636 (patch)
tree85d307f682c50dcde97ecdb6dbdf1732eb82574e
parent74dd4393445ba37b79041d92de6ff7e7b68a4aec (diff)
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>
-rw-r--r--drivers/input/keyboard/gpio_keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c
index 1a92f4b04c17..3f48279f2195 100644
--- a/drivers/input/keyboard/gpio_keys.c
+++ b/drivers/input/keyboard/gpio_keys.c
@@ -257,7 +257,7 @@ static int gpio_keys_resume(struct platform_device *pdev)
257#define gpio_keys_resume NULL 257#define gpio_keys_resume NULL
258#endif 258#endif
259 259
260struct platform_driver gpio_keys_device_driver = { 260static struct platform_driver gpio_keys_device_driver = {
261 .probe = gpio_keys_probe, 261 .probe = gpio_keys_probe,
262 .remove = __devexit_p(gpio_keys_remove), 262 .remove = __devexit_p(gpio_keys_remove),
263 .suspend = gpio_keys_suspend, 263 .suspend = gpio_keys_suspend,