All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: "Pali Rohár" <pali.rohar@gmail.com>,
	"Arnd Bergmann" <arnd@arndb.de>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org, Steven Honeyman <stevenhoneyman@gmail.com>
Subject: Re: [PATCH] i8k: Add MODULE_DEVICE_TABLE macro
Date: Fri, 17 Oct 2014 19:31:44 -0700	[thread overview]
Message-ID: <5441D110.5080808@roeck-us.net> (raw)
In-Reply-To: <1413584269-19014-1-git-send-email-pali.rohar@gmail.com>

On 10/17/2014 03:17 PM, Pali Rohár wrote:
> This patch adds MODULE_DEVICE_TABLE macro so i8k.ko module can be automatically
> loaded based on dmi system alias.
>
> Signed-off-by: Pali Rohár <pali.rohar@gmail.com>

Acked-by: Guenter Roeck <linux@roeck-us.net>

> ---
>   drivers/char/i8k.c |    2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/drivers/char/i8k.c b/drivers/char/i8k.c
> index 471f985..7272b08 100644
> --- a/drivers/char/i8k.c
> +++ b/drivers/char/i8k.c
> @@ -796,6 +796,8 @@ static struct dmi_system_id i8k_dmi_table[] __initdata = {
>   	{ }
>   };
>
> +MODULE_DEVICE_TABLE(dmi, i8k_dmi_table);
> +
>   /*
>    * Probe for the presence of a supported laptop.
>    */
>


      reply	other threads:[~2014-10-18  2:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17 22:17 [PATCH] i8k: Add MODULE_DEVICE_TABLE macro Pali Rohár
2014-10-18  2:31 ` Guenter Roeck [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=5441D110.5080808@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pali.rohar@gmail.com \
    --cc=stevenhoneyman@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.