[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120315170612.GC11441@oksana.dev.rtsoft.ru>
Date: Thu, 15 Mar 2012 21:06:12 +0400
From: Anton Vorontsov <cbouatmailru@...il.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org,
"Milo(Woogyom) Kim" <milo.kim@...com>,
Daniel Jeong <daniel.jeong@...com>
Subject: Re: [PATCH] power_supply: Add MODULE_DEVICE_TABLE for lp8727 charger
On Thu, Jan 12, 2012 at 08:45:02PM +0800, Axel Lin wrote:
> Add MODULE_DEVICE_TABLE to setup modalias for lp8727.
> The i2c_device_id table is supposed to be zero-terminated.
> Thus add a missing terminate entry for lp8727_ids.
>
> Signed-off-by: Axel Lin <axel.lin@...il.com>
> ---
> drivers/power/lp8727_charger.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c
> index b15b575..8e901c9 100644
> --- a/drivers/power/lp8727_charger.c
> +++ b/drivers/power/lp8727_charger.c
> @@ -464,7 +464,9 @@ static int __devexit lp8727_remove(struct i2c_client *cl)
>
> static const struct i2c_device_id lp8727_ids[] = {
> {"lp8727", 0},
> + { },
> };
> +MODULE_DEVICE_TABLE(i2c, lp8727_ids);
Applied, thank you!
--
Anton Vorontsov
Email: cbouatmailru@...il.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