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:
Jean Delvare committed 2005-07-24 13:53:48 +00:00
1 parent 83294b5a4d
commit 53df3c69b8
7 files changed
+7 -12

No files matched your search

+1 -2
View File
@@ -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;