From dfb598d267d1ee56e831f783e6e8289f22f2a949 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 22 Dec 2004 20:07:38 +0000 Subject: [PATCH] 82801CA is undefined before kernel 2.4.13. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2803 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/busses/i2c-i801.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel/busses/i2c-i801.c b/kernel/busses/i2c-i801.c index 022d30e4..ceae14ad 100644 --- a/kernel/busses/i2c-i801.c +++ b/kernel/busses/i2c-i801.c @@ -55,6 +55,11 @@ #include "version.h" #include "sensors_compat.h" +/* 82801CA is undefined before kernel 2.4.13 */ +#ifndef PCI_DEVICE_ID_INTEL_82801CA_3 +#define PCI_DEVICE_ID_INTEL_82801CA_3 0x2483 +#endif + /* 82801DB is undefined before kernel 2.4.19 */ #ifndef PCI_DEVICE_ID_INTEL_82801DB_3 #define PCI_DEVICE_ID_INTEL_82801DB_3 0x24c3