projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae91c2
)
drivers/input/input.c: fix CONFIG_PM=n warning
author
Andrew Morton
<akpm@linux-foundation.org>
Thu, 1 Oct 2009 22:43:55 +0000
(15:43 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 1 Oct 2009 23:11:11 +0000
(16:11 -0700)
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>
drivers/input/input.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index e828aab7daceada9eb8858fb19fa3fc755baa7ea..16ec33f27c5dad87d28751a54f1e6b4fc10677f7 100644
(file)
--- 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)
} \
} while (0)
+#ifdef CONFIG_PM
static void input_dev_reset(struct input_dev *dev, bool activate)
{
if (!dev->event)
@@
-1287,7
+1288,6
@@
static void input_dev_reset(struct input_dev *dev, bool activate)
}
}
-#ifdef CONFIG_PM
static int input_dev_suspend(struct device *dev)
{
struct input_dev *input_dev = to_input_dev(dev);