aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMatt Domsch <Matt_Domsch@dell.com>2009-11-02 20:05:50 -0500
committerJames Morris <jmorris@namei.org>2009-11-02 20:05:50 -0500
commit31bde71c202722a76686c3cf69a254c8a912275a (patch)
treeafa7ff8cfa8652fb0970e3546bbe8d7b89c531e3 /drivers
parent3507d612366a4e81226295f646410130a1f62a5c (diff)
tpm: autoload tpm_tis based on system PnP IDs
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> Acked-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/tpm/tpm_tis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
index 27e8de415309..2405f17b29dd 100644
--- a/drivers/char/tpm/tpm_tis.c
+++ b/drivers/char/tpm/tpm_tis.c
@@ -637,6 +637,7 @@ static struct pnp_device_id tpm_pnp_tbl[] __devinitdata = {
637 {"", 0}, /* User Specified */ 637 {"", 0}, /* User Specified */
638 {"", 0} /* Terminator */ 638 {"", 0} /* Terminator */
639}; 639};
640MODULE_DEVICE_TABLE(pnp, tpm_pnp_tbl);
640 641
641static __devexit void tpm_tis_pnp_remove(struct pnp_dev *dev) 642static __devexit void tpm_tis_pnp_remove(struct pnp_dev *dev)
642{ 643{