git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c704b4e
)
Input: wacom - fix compiler warning if !CONFIG_PM
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Mon, 11 Aug 2014 18:03:19 +0000
(11:03 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Tue, 12 Aug 2014 16:59:29 +0000
(09:59 -0700)
If CONFIG_PM is not set:
drivers/hid/wacom_sys.c:1436: warning: ‘wacom_reset_resume’ defined but
not used
Protect the unused functions by #ifdef CONFIG_PM to fix this.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
No differences found