HID: rmi: Protect PM-only functions by #ifdef CONFIG_PM
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 11 Jun 2014 19:03:18 +0000 (21:03 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 12 Jun 2014 08:23:27 +0000 (10:23 +0200)
commita278e26830a2aa6dee1bd4f0ed5ff2bdea4d8887
treed01afeaeab81f5f08f85fb438318c9c8b2178a68
parent4732aee97b2b05adb472bd7a9ff31af95cbfe62a
HID: rmi: Protect PM-only functions by #ifdef CONFIG_PM

If CONFIG_PM=n:

drivers/hid/hid-rmi.c:432: warning: ‘rmi_post_reset’ defined but not used
drivers/hid/hid-rmi.c:437: warning: ‘rmi_post_resume’ defined but not used

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-rmi.c