[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C9A111D.3080601@stericsson.com>
Date: Wed, 22 Sep 2010 16:22:21 +0200
From: Mattias Wallin <mattias.wallin@...ricsson.com>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: Samuel Ortiz <sameo@...ux.intel.com>,
Linus WALLEIJ <linus.walleij@...ricsson.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"patches@...nsource.wolfsonmicro.com"
<patches@...nsource.wolfsonmicro.com>
Subject: Re: [PATCH] mfd: Declare abx500_remove_ops()
Thanks Mark!
I'll update the abxxx-core drivers to call the remove_ops in their exit functions.
/Wallin
On 09/22/2010 03:58 PM, Mark Brown wrote:
> Otherwise sparse warns about a public symbol with no declaration and
> the compiler can't spot if the callers and users have different signatures
> for the function.
>
> Signed-off-by: Mark Brown <broonie@...nsource.wolfsonmicro.com>
> ---
> include/linux/mfd/abx500.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/mfd/abx500.h b/include/linux/mfd/abx500.h
> index be7373c..67bd6f7 100644
> --- a/include/linux/mfd/abx500.h
> +++ b/include/linux/mfd/abx500.h
> @@ -229,4 +229,5 @@ struct abx500_ops {
> };
>
> int abx500_register_ops(struct device *core_dev, struct abx500_ops *ops);
> +void abx500_remove_ops(struct device *dev);
> #endif
--
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