From: Henrik Rydberg Date: Mon, 1 Dec 2008 21:13:49 +0000 (-0800) Subject: hwmon: applesmc: make applesmc load automatically on startup X-Git-Tag: v2.6.28-rc7~21 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=dc924efb52ba9e4dffec5b15ae2242b894198139;p=linux-2.6-omap-h63xx.git 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 Cc: Nicolas Boichat Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c index f7dce8b9f64..086c2a5cef0 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);