On Fri, 20 Feb 2009, Stephen Rothwell wrote: > Today's linux-next build (powerpc ppc64_defconfig) produced this warning: > > drivers/hid/usbhid/hid-core.c:1337: warning: 'hid_reset_resume' defined but not used > > Introduced by commit 8aa650161ced641fec0bc9c38e3dea6a1f315442 ("HID: fix > USB HID devices after STD with autosuspend") from the hid tree. > > hid_reset_resume() is only used if CONFIG_PM is set. Thanks a lot for catching this, I have fixed it (moved hid_reset_resume() into the ifdef CONFIG_PM part of the source) and pushed the fix to the branch you pull into -next. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html