tpm: autoload tpm_tis based on system PnP IDs
authorMatt Domsch <Matt_Domsch@dell.com>
Tue, 3 Nov 2009 01:05:50 +0000 (12:05 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:41:36 +0000 (07:41 -0700)
commita798d8b0cb51bb966763e0feafcbff7097eb3978
tree5c77ba8fe668ea65a64ef929626fe22b5e24fc6c
parent9e9be58b68969b25cb9df6805563e9453de927f8
tpm: autoload tpm_tis based on system PnP IDs

commit 31bde71c202722a76686c3cf69a254c8a912275a upstream.

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>
Cc: maximilian attems <max@stro.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/tpm/tpm_tis.c