mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-23 20:11:42 +00:00
The beginnings of i2c-dev
Everything is in, except the IOCTL hook (which will be pretty simple to add). It compiles cleanly. It is not tested at all. Also a very small fix for i2c-proc, and Makefile. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@158 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
90627a9461
commit
81c78982f6
10 files changed
+837
-3
No files matched your search
@@ -459,11 +459,17 @@ int i2cproc_command(struct i2c_client *client, unsigned int cmd,
|
||||
/* Nothing here yet */
|
||||
void i2cproc_inc_use(struct i2c_client *client)
|
||||
{
|
||||
#ifdef MODULE
|
||||
MOD_INC_USE_COUNT;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Nothing here yet */
|
||||
void i2cproc_dec_use(struct i2c_client *client)
|
||||
{
|
||||
#ifdef MODULE
|
||||
MOD_DEC_USE_COUNT;
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef MODULE
|
||||
|
||||
Reference in new issue
Block a user