[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090116080503.GA11855@auto.tuwien.ac.at>
Date: Fri, 16 Jan 2009 09:05:03 +0100
From: mkoegler@...o.tuwien.ac.at (Martin Koegler)
To: David Woodhouse <dwmw2@...radead.org>
Cc: linux-kernel@...r.kernel.org
Subject: Compile error in drivers/video/backlight/mbp_nvidia_bl.c - v2.6.28
Compiling linux 2.6.28 with the attached config yields to the
following error:
CC [M] drivers/video/backlight/mbp_nvidia_bl.o
drivers/video/backlight/mbp_nvidia_bl.c:114: error: storage size of `__mod_dmi_device_table' isn't known
Probably caused by:
commit 239cfbde1f5843c4a24199f117d5f67f637d72d5
Author: David Woodhouse <dwmw2@...radead.org>
Date: Tue Sep 16 16:25:24 2008 -0700
Fix autoloading of MacBook Pro backlight driver.
Use new MODULE_DEVICE_TABLE(dmi, ...) facility. There's no need for
every driver to screw it up for themselves, when the alias can be
generated automatically.
Signed-off-by: David Woodhouse <David.Woodhouse@...el.com>
diff --git a/drivers/video/backlight/mbp_nvidia_bl.c b/drivers/video/backlight/mbp_nvidia_bl.c
index 385cba4..06964af 100644
--- a/drivers/video/backlight/mbp_nvidia_bl.c
+++ b/drivers/video/backlight/mbp_nvidia_bl.c
@@ -111,6 +111,4 @@ module_exit(mbp_exit);
MODULE_AUTHOR("Matthew Garrett <mjg@...hat.com>");
MODULE_DESCRIPTION("Nvidia-based Macbook Pro Backlight Driver");
MODULE_LICENSE("GPL");
-MODULE_ALIAS("svnAppleInc.:pnMacBookPro3,1");
-MODULE_ALIAS("svnAppleInc.:pnMacBookPro3,2");
-MODULE_ALIAS("svnAppleInc.:pnMacBookPro4,1");
+MODULE_DEVICE_TABLE(dmi, mbp_device_table);
mfg Martin Kögler
PS:
This is the second error of this kind, I hit with 2.6.28. First is in drivers/hwmon/applesmc.c
View attachment "config-2.6.28" of type "text/plain" (72781 bytes)
Powered by blists - more mailing lists