mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-26 20:38:20 +00:00
(Frodo) Massive commit of all things related to mkpatch. Let's just say
it works great now. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@516 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
dde88d36d8
commit
acd5a15556
29 files changed
+438
-148
No files matched your search
+5
-4
@@ -37,6 +37,7 @@
|
||||
#include <linux/init.h>
|
||||
#else
|
||||
#define __init
|
||||
#define __initdata
|
||||
#endif
|
||||
|
||||
|
||||
@@ -197,7 +198,7 @@ struct lm80_data {
|
||||
};
|
||||
|
||||
|
||||
static int __init lm80_init(void);
|
||||
static int __init sensors_lm80_init(void);
|
||||
static int __init lm80_cleanup(void);
|
||||
|
||||
static int lm80_attach_adapter(struct i2c_adapter *adapter);
|
||||
@@ -243,7 +244,7 @@ static struct i2c_driver lm80_driver = {
|
||||
};
|
||||
|
||||
/* Used by lm80_init/cleanup */
|
||||
static int __init lm80_initialized = 0;
|
||||
static int __initdata lm80_initialized = 0;
|
||||
|
||||
/* The /proc/sys entries */
|
||||
/* These files are created for each detected LM80. This is just a template;
|
||||
@@ -671,7 +672,7 @@ void lm80_fan_div(struct i2c_client *client, int operation, int ctl_name,
|
||||
}
|
||||
}
|
||||
|
||||
int __init lm80_init(void)
|
||||
int __init sensors_lm80_init(void)
|
||||
{
|
||||
int res;
|
||||
|
||||
@@ -710,7 +711,7 @@ MODULE_DESCRIPTION("LM80 driver");
|
||||
|
||||
int init_module(void)
|
||||
{
|
||||
return lm80_init();
|
||||
return sensors_lm80_init();
|
||||
}
|
||||
|
||||
int cleanup_module(void)
|
||||
|
||||
Reference in new issue
Block a user