mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-06 15:51:34 +00:00
Made i2c-hydra.o 2.0.x kernel compatible
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@442 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
6569c8364c
commit
5ffe4834e5
2 files changed
+31
-2
No files matched your search
@@ -81,5 +81,12 @@
|
||||
pci_write_config_byte(device,com,res)
|
||||
#endif
|
||||
|
||||
/* I hope this is always correct, even for the PPC, but I really think so.
|
||||
And yes, the kernel version is exactly correct */
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0))
|
||||
#include <linux/mm.h>
|
||||
#define ioremap vremap
|
||||
#define iounmap vfree
|
||||
#endif
|
||||
|
||||
#endif /* SENSORS_COMPAT_H */
|
||||
Reference in new issue
Block a user