Thread (4 messages) 4 messages, 4 authors, 2014-08-12

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

flat view

From: Benjamin Tissoires <hidden>
Date: 2014-08-11 14:42:50
Also in: lkml

On Aug 09 2014 or thereabouts, Jiri Kosina wrote:
On Sat, 9 Aug 2014, Geert Uytterhoeven wrote:
quoted
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>
Thanks Geert.

hid-wacom is in a sort of temporary mode of operation, being moved from 
Input to HID driver.

Adding Benjamin and Dmitry to CC, as this will likely still go through 
Dmitry's queue.
Thanks for fixing this Geert.

Reviewed-by: Benjamin Tissoires <redacted>

Cheers,
Benjamin

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help