[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20090116074143.GA11299@auto.tuwien.ac.at>
Date: Fri, 16 Jan 2009 08:41:43 +0100
From: mkoegler@...o.tuwien.ac.at (Martin Koegler)
To: Henrik Rydberg <rydberg@...omail.se>
Cc: linux-kernel@...r.kernel.org
Subject: Compile error in drivers/hwmon/applesmc.c - v2.6.28
Compiling linux 2.6.28 with the attached config yields to the
following error:
CC [M] drivers/hwmon/applesmc.o
drivers/hwmon/applesmc.c:1567: error: storage size of `__mod_dmi_device_table' isn't known
Probably caused by:
commit dc924efb52ba9e4dffec5b15ae2242b894198139
Author: Henrik Rydberg <rydberg@...math.org>
Date: Mon Dec 1 13:13:49 2008 -0800
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@...omail.se>
Cc: Nicolas Boichat <nicolas@...chat.ch>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@...ux-foundation.org>
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
index f7dce8b..086c2a5 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);
mfg Martin Kögler
View attachment "config-2.6.28" of type "text/plain" (72770 bytes)
Powered by blists - more mailing lists