Input: wacom - fix compiler warning if !CONFIG_PM
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 11 Aug 2014 18:03:19 +0000 (11:03 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 12 Aug 2014 16:59:29 +0000 (09:59 -0700)
commit41a7458147a435e082ceccd3a7d46f3390ea90f3
tree0281f959911f8b8bbc6e29cfdaf457a0a6c490e1
parentc704b4ef1a819b053fd33617e861da1932077314
Input: wacom - fix compiler warning if !CONFIG_PM

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>
drivers/hid/wacom_sys.c