diff --git a/kernel/chips/asb100.c b/kernel/chips/asb100.c index c945c7a6..8d3b7ff8 100644 --- a/kernel/chips/asb100.c +++ b/kernel/chips/asb100.c @@ -47,6 +47,10 @@ #include "sensors_vid.h" #include "lm75.h" +#ifndef I2C_DRIVERID_ASB100 +#define I2C_DRIVERID_ASB100 1043 +#endif + /* I2C addresses to scan */ static unsigned short normal_i2c[] = { SENSORS_I2C_END }; static unsigned short normal_i2c_range[] = { 0x28, 0x2f, SENSORS_I2C_END }; diff --git a/kernel/chips/fscher.c b/kernel/chips/fscher.c index 2acf73c7..82d592f5 100644 --- a/kernel/chips/fscher.c +++ b/kernel/chips/fscher.c @@ -33,6 +33,10 @@ #include #include "version.h" +#ifndef I2C_DRIVERID_FSCHER +#define I2C_DRIVERID_FSCHER 1046 +#endif + /* Addresses to scan */ static unsigned short normal_i2c[] = { 0x73, SENSORS_I2C_END }; static unsigned short normal_i2c_range[] = { SENSORS_I2C_END }; diff --git a/kernel/chips/lm90.c b/kernel/chips/lm90.c index 718cdfe7..f1a7cb86 100644 --- a/kernel/chips/lm90.c +++ b/kernel/chips/lm90.c @@ -42,6 +42,10 @@ #include #include "version.h" +#ifndef I2C_DRIVERID_LM90 +#define I2C_DRIVERID_LM90 1042 +#endif + /* * Addresses to scan * Address is fully defined internally and cannot be changed. diff --git a/kernel/chips/max6650.c b/kernel/chips/max6650.c index 583d6051..064cbed1 100644 --- a/kernel/chips/max6650.c +++ b/kernel/chips/max6650.c @@ -37,6 +37,10 @@ #include #include "version.h" +#ifndef I2C_DRIVERID_MAX6650 +#define I2C_DRIVERID_MAX6650 1044 +#endif + /* * Addresses to scan. There are four disjoint possibilities, by pin config. */ diff --git a/kernel/chips/w83l785ts.c b/kernel/chips/w83l785ts.c index ca8b5b6e..e2a57451 100644 --- a/kernel/chips/w83l785ts.c +++ b/kernel/chips/w83l785ts.c @@ -31,6 +31,10 @@ #include #include "version.h" +#ifndef I2C_DRIVERID_W83L785TS +#define I2C_DRIVERID_W83L785TS 1043 +#endif + /* * Address to scan * Address is fully defined internally and cannot be changed.