Re: [PATCH] Input: wacom - Fix compiler warning if !CONFIG_PM

2014-08-12 Thread Dmitry Torokhov
On Mon, Aug 11, 2014 at 10:42:38AM -0400, Benjamin Tissoires wrote: > On Aug 09 2014 or thereabouts, Jiri Kosina wrote: > > On Sat, 9 Aug 2014, Geert Uytterhoeven wrote: > > > > > If CONFIG_PM is not set: > > > > > > drivers/hid/wacom_sys.c:1436: warning: ‘wacom_reset_resume’ defined but > > > no

Re: [PATCH] Input: wacom - Fix compiler warning if !CONFIG_PM

2014-08-11 Thread Benjamin Tissoires
On Aug 09 2014 or thereabouts, Jiri Kosina wrote: > On Sat, 9 Aug 2014, Geert Uytterhoeven wrote: > > > 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. > >

Re: [PATCH] Input: wacom - Fix compiler warning if !CONFIG_PM

2014-08-09 Thread Jiri Kosina
On Sat, 9 Aug 2014, Geert Uytterhoeven wrote: > 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 Thanks Geert. hid-wacom is i