diff options
author | Matt Domsch <Matt_Domsch@dell.com> | 2009-11-03 12:05:50 +1100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-11-03 12:05:50 +1100 |
commit | 31bde71c202722a76686c3cf69a254c8a912275a (patch) | |
tree | afa7ff8cfa8652fb0970e3546bbe8d7b89c531e3 /drivers/char/tpm | |
parent | 3507d612366a4e81226295f646410130a1f62a5c (diff) | |
download | blackbird-op-linux-31bde71c202722a76686c3cf69a254c8a912275a.tar.gz blackbird-op-linux-31bde71c202722a76686c3cf69a254c8a912275a.zip |
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/char/tpm')
-rw-r--r-- | 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 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 = { {"", 0}, /* User Specified */ {"", 0} /* Terminator */ }; +MODULE_DEVICE_TABLE(pnp, tpm_pnp_tbl); static __devexit void tpm_tis_pnp_remove(struct pnp_dev *dev) { |