* [PATCH] hwmon: applesmc: Make applesmc load automatically on startup
@ 2008-11-20 19:14 Henrik Rydberg
0 siblings, 0 replies; only message in thread
From: Henrik Rydberg @ 2008-11-20 19:14 UTC (permalink / raw)
To: Andrew Morton, Nicolas Boichat, lm-sensors; +Cc: linux-kernel
This patch makes 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>
---
drivers/hwmon/applesmc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
index 488e45c..3e18f19 100644
--- a/drivers/hwmon/applesmc.c
+++ b/drivers/hwmon/applesmc.c
@@ -1551,3 +1551,4 @@ module_exit(applesmc_exit);
MODULE_AUTHOR("Nicolas Boichat");
MODULE_DESCRIPTION("Apple SMC");
MODULE_LICENSE("GPL v2");
+MODULE_DEVICE_TABLE(dmi, applesmc_whitelist);
--
1.5.6.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-20 19:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 19:14 [PATCH] hwmon: applesmc: Make applesmc load automatically on startup Henrik Rydberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox