Hi everyone

27.05.2015, 01:38, "Ludek Hlavacek" <lude...@seznam.cz>:
> Add i2c alias to enable autoloading of the module for device specified
> in device-tree.
>
> Signed-off-by: Ludek Hlavacek <lude...@seznam.cz>

This looks good to me, Greg, please pull to your tree.
Thank you.

Acked-by: Evgeniy Polyakov <z...@ioremap.net>

> ---
>  drivers/w1/masters/ds2482.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/w1/masters/ds2482.c b/drivers/w1/masters/ds2482.c
> index e76a9b3..a674409 100644
> --- a/drivers/w1/masters/ds2482.c
> +++ b/drivers/w1/masters/ds2482.c
> @@ -93,6 +93,7 @@ static const struct i2c_device_id ds2482_id[] = {
>          { "ds2482", 0 },
>          { }
>  };
> +MODULE_DEVICE_TABLE(i2c, ds2482_id);
>
>  static struct i2c_driver ds2482_driver = {
>          .driver = {
> --
> 2.0.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to