[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081026231112.6ec4bf56@i1501.lan.towertech.it>
Date: Sun, 26 Oct 2008 23:11:12 +0100
From: Alessandro Zummo <alessandro.zummo@...ertech.it>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Dennis Aberilla <denzzzhome@...oo.com>,
Alessandro Zummo <a.zummo@...ertech.it>,
David Brownell <david-b@...bell.net>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Development <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] rtc: ds3234 doesn't link when built-in
On Sun, 26 Oct 2008 15:19:20 +0100 (CET)
Geert Uytterhoeven <geert@...ux-m68k.org> wrote:
> When ds3234 is built-in, the final links fails with the following vague error
> message:
>
> `.exit.text' referenced in section `.data' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
>
> ds3234_remove() cannot be marked __exit, as it's accessed via __devexit_p().
> In addition, mark ds3234_probe() __devinit while we're at it.
>
> Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
Acked-by: Alessandro Zummo <a.zummo@...ertech.it>
--
Best regards,
Alessandro Zummo,
Tower Technologies - Torino, Italy
http://www.towertech.it
--
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