From: Geert Uytterhoeven Date: Sun, 26 Oct 2008 16:04:38 +0000 (+0100) Subject: hwmon: (w83781d) Fix linking when built-in X-Git-Tag: v2.6.28-rc2~6^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd56b638951936cda945ba5641cc44927a5f1c6d;p=pandora-kernel.git hwmon: (w83781d) Fix linking when built-in When w83781d is built-in, the final links fails with the following vague error message: `.exit.text' referenced in section `.init.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o w83781d_isa_unregister() cannot be marked __exit, as it's also called from sensors_w83781d_init(), which is marked __init. Signed-off-by: Geert Uytterhoeven Cc: Wolfgang Grandegger Signed-off-by: Jean Delvare --- Reading git-diff-tree failed