[ltp] Re: [ANN] tp_smapi - a new Linux SMAPI driver
Shem Multinymous
linux-thinkpad@linux-thinkpad.org
Mon, 5 Dec 2005 01:47:22 +0200
Hi,
On 12/5/05, Jiang Qian <qian2@fas.harvard.edu> wrote:
> This is a T43 with ubuntu hoary 5.04 and kernel 2.6.12. I can't seem to
> get it compiled: error messages:
> make[1]: Entering directory `/usr/src/linux-2.6.12.4'
> CC [M] /home/qian2/download/ibm-acpi/tp_smapi-0.02/tp_smapi.o
> /home/qian2/download/ibm-acpi/tp_smapi-0.02/tp_smapi.c:268: warning:
> `struct device_attribute' declared inside parameter list
Try adding
#include <linux/device.h>
at the top of tp_smapi.c. I'll fix that in the next release.
Shem