lkml.org 
[lkml]   [2015]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] w1: ds2482: Add i2c module alias name
Date
Hi everyone

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

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

Acked-by: Evgeniy Polyakov <zbr@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


\
 
 \ /
  Last update: 2015-05-29 16:41    [W:0.032 / U:11.864 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site