mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-13 17:00:15 +00:00
Very small patches to make compiling against kernel 2.0.0 possible
again. No testing yet, just a normal compile without kernel patching. Expect more of these minor patches today, git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@553 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
e489331dbd
commit
79fac19ad8
1 file changed
+4
-4
@@ -33,6 +33,10 @@
|
||||
#include <linux/bios32.h>
|
||||
#endif
|
||||
|
||||
#include <linux/i2c.h>
|
||||
#include <linux/i2c-algo-bit.h>
|
||||
#include "compat.h"
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,53)
|
||||
#include <linux/init.h>
|
||||
#else
|
||||
@@ -40,10 +44,6 @@
|
||||
#define __initdata
|
||||
#endif
|
||||
|
||||
#include <linux/i2c.h>
|
||||
#include <linux/i2c-algo-bit.h>
|
||||
#include "compat.h"
|
||||
|
||||
/* PCI device */
|
||||
#define VENDOR PCI_VENDOR_ID_VIA
|
||||
#define DEVICE PCI_DEVICE_ID_VIA_82C586_3
|
||||
|
||||
Reference in new issue
Block a user