diff --git a/kernel/chips/lm92.c b/kernel/chips/lm92.c index c692b6c7..1db5deb7 100644 --- a/kernel/chips/lm92.c +++ b/kernel/chips/lm92.c @@ -379,6 +379,10 @@ static void lm92_dec_use (struct i2c_client *client) #endif /* #ifdef MODULE */ } +#ifndef I2C_DRIVERID_LM92 +#define I2C_DRIVERID_LM92 1033 +#endif /* #ifndef I2C_DRIVERID_LM92 */ + static struct i2c_driver lm92_driver = { name: "lm92", id: I2C_DRIVERID_LM92,