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:
Frodo Looijaard committed 1999-05-02 21:00:24 +00:00
1 parent 6569c8364c
commit 5ffe4834e5
2 files changed
+31 -2

No files matched your search

+7
View File
@@ -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 */