diff options
author | Jiri Kosina <jkosina@suse.cz> | 2009-02-20 12:47:08 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-03-25 17:57:58 +0100 |
commit | ae2f007468223e9efd6973be0364b9307a050a0c (patch) | |
tree | 2fbf929661f078626998691012ba64afb471c212 /firmware/yamaha | |
parent | 378a0ede126a2c59ab9ea1771de624521db5053e (diff) | |
download | op-kernel-dev-ae2f007468223e9efd6973be0364b9307a050a0c.zip op-kernel-dev-ae2f007468223e9efd6973be0364b9307a050a0c.tar.gz |
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>
Diffstat (limited to 'firmware/yamaha')
0 files changed, 0 insertions, 0 deletions