Home
last modified time | relevance | path

Searched hist:ae2f007468223e9efd6973be0364b9307a050a0c (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hid/usbhid/
H A Dhid-core.cdiff ae2f007468223e9efd6973be0364b9307a050a0c Fri Feb 20 05:47:08 CST 2009 Jiri Kosina <jkosina@suse.cz> HID: hid_reset_resume() needs to be defined only when CONFIG_PM is set

There is no point of having hid_reset_resume() when CONFIG_PM is
not set, and even the corresponding .reset_resume pointer in hid_driver
struct is properly ifdefed.

Move the definition into the ifdef CONFIG_PM part of the source to avoid

drivers/hid/usbhid/hid-core.c:1337: warning: 'hid_reset_resume' defined but not used

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>