mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-09 16:21:51 +00:00
mkpatch updates
* mkpatch now correctly works when kernel-side files do not yet exist. I forgot to propagate a change in the i2c version. * __init* handling in mkpatch and compat.h * New i801 defines added to mkpatch git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@545 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
d00f2e005d
commit
d1e26d5f16
3 files changed
+40
-10
No files matched your search
@@ -42,13 +42,6 @@
|
||||
#include <linux/bios32.h>
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,53)
|
||||
#include <linux/init.h>
|
||||
#else
|
||||
#define __init
|
||||
#define __initdata
|
||||
#endif
|
||||
|
||||
/* I801 SMBus address offsets */
|
||||
#define SMBHSTSTS (0 + i801_smba)
|
||||
#define SMBHSTCNT (2 + i801_smba)
|
||||
|
||||
Reference in new issue
Block a user