[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0810261934140.15317@anakin>
Date: Sun, 26 Oct 2008 19:35:13 +0100 (CET)
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Jean Delvare <khali@...ux-fr.org>
cc: Wolfgang Grandegger <wg@...ndegger.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Development <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] hwmon: w83781d doesn't link when built-in
On Sun, 26 Oct 2008, Jean Delvare wrote:
> On Sun, 26 Oct 2008 15:20:26 +0100 (CET), Geert Uytterhoeven wrote:
> > 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.
>
> Good catch, thanks for reporting. For some reason the link doesn't fail
> here.
Probably w83781d_isa_unregister() got inlined?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists