Re: Fwd: [PATCH] bq27x00_battery: Add new properties

From: Anton Vorontsov
Date: Mon Jan 31 2011 - 15:16:07 EST


On Mon, Jan 31, 2011 at 09:04:32PM +0100, Pali RohÃr wrote:
> This patch adds MODULE_DEVICE_TABLE for module bq27x00_battery.
>
> Signed-off-by: Pali RohÃr <pali.rohar@xxxxxxxxx>
> Tested-by: Pali RohÃr <pali.rohar@xxxxxxxxx>

Lars, if that's OK for you, please take Pali's patches via your
tree. I can merge it into battery-2.6.git on request (and after
review, of course).

Thanks!

>
> --- a/drivers/power/bq27x00_battery.c 2011-01-31 20:58:11.000000000 +0100
> +++ b/drivers/power/bq27x00_battery.c 2011-01-31 20:57:05.000000000 +0100
> @@ -596,6 +596,7 @@ static const struct i2c_device_id bq27x0
> { "bq27500", BQ27500 },
> {},
> };
> +MODULE_DEVICE_TABLE(i2c, bq27x00_id);
>
> static struct i2c_driver bq27x00_battery_driver = {
> .driver = {

--
Anton Vorontsov
Email: cbouatmailru@xxxxxxxxx
--
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/