mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-12-04 21:58:18 +00:00
Tag device find functions __init, as they are called from __init
functions. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3044 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
83294b5a4d
commit
53df3c69b8
7 files changed
+7
-12
No files matched your search
+1
-2
@@ -250,7 +250,6 @@ struct it87_data {
|
||||
|
||||
|
||||
static int it87_attach_adapter(struct i2c_adapter *adapter);
|
||||
static int it87_find(int *address);
|
||||
static int it87_detect(struct i2c_adapter *adapter, int address,
|
||||
unsigned short flags, int kind);
|
||||
static int it87_detach_client(struct i2c_client *client);
|
||||
@@ -424,7 +423,7 @@ static int it87_attach_adapter(struct i2c_adapter *adapter)
|
||||
return i2c_detect(adapter, &addr_data, it87_detect);
|
||||
}
|
||||
|
||||
static int it87_find(int *address)
|
||||
static int __init it87_find(int *address)
|
||||
{
|
||||
int err = -ENODEV;
|
||||
u16 devid;
|
||||
|
||||
Reference in new issue
Block a user