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:
Frodo Looijaard committed 1999-09-11 12:50:18 +00:00
1 parent e489331dbd
commit 79fac19ad8
1 file changed
+4 -4
+4 -4
View File
@@ -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