diff options
author | Abraham van der Merwe <abraham@2d3d.co.za> | 2002-07-09 10:03:22 +0000 |
---|---|---|
committer | Abraham van der Merwe <abraham@2d3d.co.za> | 2002-07-09 10:03:22 +0000 |
commit | 1416083125ebbecc55d6be70e2bc94c0e1be28ce (patch) | |
tree | bd8ad0b74d53dfcfe2cb4dacf3e9bb906f46ef84 | |
parent | 6657d7c56b7776440e63c4741d09fb06c1879c6e (diff) | |
download | lm-sensors-git-1416083125ebbecc55d6be70e2bc94c0e1be28ce.tar.gz |
Support for pre-2.6.4 i2c.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1431 7894878c-1315-0410-8ee3-d5d059ff63e0
-rw-r--r-- | kernel/chips/lm92.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, |