summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2008-12-01 13:13:49 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2008-12-01 19:55:24 -0800
commitdc924efb52ba9e4dffec5b15ae2242b894198139 (patch)
tree8298784138ec7f6568d78f242195cc60e2aeddfc /drivers
parent36be47d6d8d98f54b6c4f891e9f54fb2bf554584 (diff)
downloadlinux-dc924efb52ba9e4dffec5b15ae2242b894198139.tar.gz
linux-dc924efb52ba9e4dffec5b15ae2242b894198139.tar.bz2
linux-dc924efb52ba9e4dffec5b15ae2242b894198139.zip
hwmon: applesmc: make applesmc load automatically on startup
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hwmon/applesmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
index f7dce8b9f64b..086c2a5cef0b 100644
--- 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);