A quick fix is to add the following include statement to thinkpadpm.c: <linux/pm_legacy.h>
Click the following link for more information: http://www.thinkwiki.org/wiki/Talk:Tpctl -- won't build against current kernel https://launchpad.net/bugs/34933 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs