projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6760aa
)
hwmon: (smsc47m1) Fix section mismatch
author
Jeff Mahoney
<jeffm@suse.com>
Mon, 25 Jan 2010 14:00:48 +0000
(15:00 +0100)
committer
Jean Delvare
<khali@linux-fr.org>
Mon, 25 Jan 2010 14:00:48 +0000
(15:00 +0100)
smsc47m1_restore is called from sm_smsc47m1_exit, which is an __exit
function, so it can't be __init.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/smsc47m1.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/smsc47m1.c
b/drivers/hwmon/smsc47m1.c
index 9ca97818bd4b57148d9c0ad8c42a231832967377..8fa462f2b570e7c8692d62bbcc5ff5cb8675d781 100644
(file)
--- a/
drivers/hwmon/smsc47m1.c
+++ b/
drivers/hwmon/smsc47m1.c
@@
-488,7
+488,7
@@
static int __init smsc47m1_find(unsigned short *addr,
}
/* Restore device to its initial state */
-static void
__init
smsc47m1_restore(const struct smsc47m1_sio_data *sio_data)
+static void smsc47m1_restore(const struct smsc47m1_sio_data *sio_data)
{
if ((sio_data->activate & 0x01) == 0) {
superio_enter();