From: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
To: Matt Domsch <Matt_Domsch@dell.com>
Cc: Debora Velarde <debora@linux.vnet.ibm.com>,
Marcel Selhorst <m.selhorst@sirrix.com>,
tpmdd-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org,
linux-bugs@dell.com, akpm@linux-foundation.org
Subject: Re: [PATCH] tpm: autoload tpm_tis based on system PnP IDs
Date: Tue, 20 Oct 2009 18:45:27 -0200 [thread overview]
Message-ID: <4ADE2167.8010700@linux.vnet.ibm.com> (raw)
In-Reply-To: <20091020185840.GA19773@mock.linuxdev.us.dell.com>
Acked-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Matt Domsch wrote:
> The tpm_tis driver already has a list of supported pnp_device_ids.
> This patch simply exports that list as a MODULE_DEVICE_TABLE() so that
> the module autoloader will discover and load the module at boottime.
>
> Signed-off-by: Matt Domsch <Matt_Domsch@dell.com>
> ---
> drivers/char/tpm/tpm_tis.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
> index 0b73e4e..c10ab48 100644
> --- a/drivers/char/tpm/tpm_tis.c
> +++ b/drivers/char/tpm/tpm_tis.c
> @@ -629,6 +629,7 @@ static struct pnp_device_id tpm_pnp_tbl[] __devinitdata = {
> {"", 0}, /* User Specified */
> {"", 0} /* Terminator */
> };
> +MODULE_DEVICE_TABLE(pnp, tpm_pnp_tbl);
>
> static __devexit void tpm_tis_pnp_remove(struct pnp_dev *dev)
> {
>
prev parent reply other threads:[~2009-10-20 20:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-20 18:58 [PATCH] tpm: autoload tpm_tis based on system PnP IDs Matt Domsch
2009-10-20 20:45 ` Rajiv Andrade [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=4ADE2167.8010700@linux.vnet.ibm.com \
--to=srajiv@linux.vnet.ibm.com \
--cc=Matt_Domsch@dell.com \
--cc=akpm@linux-foundation.org \
--cc=debora@linux.vnet.ibm.com \
--cc=linux-bugs@dell.com \
--cc=linux-kernel@vger.kernel.org \
--cc=m.selhorst@sirrix.com \
--cc=tpmdd-devel@lists.sourceforge.net \
/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