Re: [PATCH] mfd/da903x: initialize PMIC core early

From: Samuel Ortiz
Date: Mon Jun 15 2009 - 09:49:25 EST


Hi Mike,

On Mon, Jun 15, 2009 at 03:02:09PM +0300, Mike Rapoport wrote:
> Samuel,
> It'd be great if this can go to 2.6.31
Sure. Care to explain why this needs to be called earlier ?

Cheers,
Samuel.

> Signed-off-by: Mike Rapoport <mike@xxxxxxxxxxxxxx>
> ---
> drivers/mfd/da903x.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mfd/da903x.c b/drivers/mfd/da903x.c
> index 7283d88..e5ffe56 100644
> --- a/drivers/mfd/da903x.c
> +++ b/drivers/mfd/da903x.c
> @@ -561,7 +561,7 @@ static int __init da903x_init(void)
> {
> return i2c_add_driver(&da903x_driver);
> }
> -module_init(da903x_init);
> +subsys_initcall(da903x_init);
>
> static void __exit da903x_exit(void)
> {
> --
> 1.6.0.6
>
>
> --
> Sincerely yours,
> Mike.
>

--
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/