[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180111231256.GC2678@piout.net>
Date: Fri, 12 Jan 2018 00:12:56 +0100
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Alessandro Zummo <a.zummo@...ertech.it>,
Patrick Bruenn <p.bruenn@...khoff.com>,
linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rtc: mxc_v2: remove __exit annotation
On 02/01/2018 at 10:43:33 +0100, Arnd Bergmann wrote:
> The mxc_rtc_remove is incorrectly annotated as __exit:
>
> `mxc_rtc_remove' referenced in section `.data' of drivers/rtc/rtc-mxc_v2.o: defined in discarded section `.exit.text' of drivers/rtc/rtc-mxc_v2.o
>
> This should not be done, as devices can be dynamically bound
> and unbound to a driver.
>
> Fixes: 54c47014b474 ("rtc: add mxc driver for i.MX53 SRTC")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> ---
> drivers/rtc/rtc-mxc_v2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied, thanks.
--
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Powered by blists - more mailing lists