[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120716132805.GF20652@sortiz-mobl>
Date: Mon, 16 Jul 2012 15:28:05 +0200
From: Samuel Ortiz <sameo@...ux.intel.com>
To: Axel Lin <axel.lin@...il.com>
Cc: Qiao Zhou <zhouqiao@...vell.com>, Arnd Bergmann <arnd@...db.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] mfd: Remove __devexit annotation for pm80x_deinit
Hi Axel,
On Wed, Jul 11, 2012 at 10:01:10AM +0800, Axel Lin wrote:
> This fixes below section mismatch warning:
>
> LD drivers/mfd/built-in.o
> WARNING: drivers/mfd/built-in.o(.devinit.text+0x46c): Section mismatch in reference from the function pm800_probe() to the function .devexit.text:pm80x_deinit()
> The function __devinit pm800_probe() references
> a function __devexit pm80x_deinit().
> This is often seen when error handling in the init function
> uses functionality in the exit path.
> The fix is often to remove the __devexit annotation of
> pm80x_deinit() so it may be used outside an exit section.
>
> Signed-off-by: Axel Lin <axel.lin@...il.com>
> ---
> v2: Also remove the __devexit annotation in 88pm80x.h
>
> drivers/mfd/88pm80x.c | 2 +-
> include/linux/mfd/88pm80x.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Applied as well, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
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