OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36be47d
)
hwmon: applesmc: make applesmc load automatically on startup
author
Henrik Rydberg
<rydberg@bitmath.org>
Mon, 1 Dec 2008 21:13:49 +0000
(13:13 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 2 Dec 2008 03:55:24 +0000
(19:55 -0800)
make use of the new dmi device loading support to automatically load the
applesmc driver based on the dmi_match table.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Cc: Nicolas Boichat <nicolas@boichat.ch>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hwmon/applesmc.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/applesmc.c
b/drivers/hwmon/applesmc.c
index
f7dce8b
..
086c2a5
100644
(file)
--- a/
drivers/hwmon/applesmc.c
+++ b/
drivers/hwmon/applesmc.c
@@
-1564,3
+1564,4
@@
module_exit(applesmc_exit);
MODULE_AUTHOR("Nicolas Boichat");
MODULE_DESCRIPTION("Apple SMC");
MODULE_LICENSE("GPL v2");
+MODULE_DEVICE_TABLE(dmi, applesmc_whitelist);