summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/applesmc.c
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2008-12-01 22:13:49 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-12-02 04:55:24 +0100
commitdc924efb52ba9e4dffec5b15ae2242b894198139 (patch)
tree8298784138ec7f6568d78f242195cc60e2aeddfc /drivers/hwmon/applesmc.c
parentparport_serial: fix array overflow (diff)
downloadlinux-dc924efb52ba9e4dffec5b15ae2242b894198139.tar.xz
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/hwmon/applesmc.c')
-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);