mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Evgeniy Polyakov <zbr@ioremap.net>
To: Ludek Hlavacek <ludek_h@seznam.cz>
Cc: "fjodor.schelichow@hotmail.com" <fjodor.schelichow@hotmail.com>,
	"romsom2@yahoo.de" <romsom2@yahoo.de>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] w1: ds2482: Add i2c module alias name
Date: Fri, 29 May 2015 17:07:18 +0300	[thread overview]
Message-ID: <4901391432908438@web2m.yandex.ru> (raw)
In-Reply-To: <1432679879-16211-1-git-send-email-ludek_h@seznam.cz>

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

      reply	other threads:[~2015-05-29 14:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-26 22:37 Ludek Hlavacek
2015-05-29 14:07 ` Evgeniy Polyakov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4901391432908438@web2m.yandex.ru \
    --to=zbr@ioremap.net \
    --cc=fjodor.schelichow@hotmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ludek_h@seznam.cz \
    --cc=romsom2@yahoo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome