aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/input.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2009-10-01 18:43:55 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-01 19:11:11 -0400
commit1c4115e595dec42aa0e81ba47ef46e35b34ed428 (patch)
tree89f61afcc135325d07f40a3bd2555d28c98a51a9 /drivers/input/input.c
parent3ae91c21dd29e413f4111978152c14061f0984b0 (diff)
drivers/input/input.c: fix CONFIG_PM=n warning
drivers/input/input.c:1277: warning: 'input_dev_reset' defined but not used Acked-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/input/input.c')
-rw-r--r--drivers/input/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c
index e828aab7dace..16ec33f27c5d 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -1273,6 +1273,7 @@ static int input_dev_uevent(struct device *device, struct kobj_uevent_env *env)
1273 } \ 1273 } \
1274 } while (0) 1274 } while (0)
1275 1275
1276#ifdef CONFIG_PM
1276static void input_dev_reset(struct input_dev *dev, bool activate) 1277static void input_dev_reset(struct input_dev *dev, bool activate)
1277{ 1278{
1278 if (!dev->event) 1279 if (!dev->event)
@@ -1287,7 +1288,6 @@ static void input_dev_reset(struct input_dev *dev, bool activate)
1287 } 1288 }
1288} 1289}
1289 1290
1290#ifdef CONFIG_PM
1291static int input_dev_suspend(struct device *dev) 1291static int input_dev_suspend(struct device *dev)
1292{ 1292{
1293 struct input_dev *input_dev = to_input_dev(dev); 1293 struct input_dev *input_dev = to_input_dev(dev);