File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Change history for tp_smapi:
22
3+ 0.39 2008-09-27
4+ ---------------------
5+ - Fixed compilation on kernels <2.6.26
6+ (thanks to Evgeni Golov and Whoopie!)
7+
380.38 2008-09-26
49---------------------
5- - Fixed compilation on kernel 2.6.27-rc7
10+ - Fixed compilation on kernel 2.6.27-rc7.
611- tp_smapi: Added a new battery attribute
712 /sys/devices/platform/smapi/BAT?/remaining_percent_error
813 This is the error margin for the remaing_percent attribute.
Original file line number Diff line number Diff line change 1- tp_smapi version 0.38
1+ tp_smapi version 0.39
22IBM ThinkPad hardware functions driver
33
44Author: Shem Multinymous <multinymous@gmail.com>
Original file line number Diff line number Diff line change 3636#include <linux/delay.h>
3737#include <linux/thinkpad_ec.h>
3838#include <linux/jiffies.h>
39- #include <linux/semaphore.h>
4039#include <asm/io.h>
4140
42- #define TP_VERSION "0.38"
41+ #include <linux/version.h>
42+ #if LINUX_VERSION_CODE < KERNEL_VERSION (2 ,6 ,26 )
43+ #include <asm/semaphore.h>
44+ #else
45+ #include <linux/semaphore.h>
46+ #endif
47+
48+ #define TP_VERSION "0.39"
4349
4450MODULE_AUTHOR ("Shem Multinymous" );
4551MODULE_DESCRIPTION ("ThinkPad embedded controller hardware access" );
Original file line number Diff line number Diff line change 4747#include <asm/uaccess.h>
4848#include <asm/io.h>
4949
50- #define TP_VERSION "0.38 "
50+ #define TP_VERSION "0.39 "
5151#define TP_DESC "ThinkPad SMAPI Support"
5252#define TP_DIR "smapi"
5353
You can’t perform that action at this time.
0 commit comments