diff options
-rw-r--r-- | drivers/char/tpm/tpm_tis.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c index 447f76388067..b9cae9a238bb 100644 --- a/drivers/char/tpm/tpm_tis.c +++ b/drivers/char/tpm/tpm_tis.c | |||
@@ -610,7 +610,13 @@ static int tpm_tis_pnp_resume(struct pnp_dev *dev) | |||
610 | 610 | ||
611 | static struct pnp_device_id tpm_pnp_tbl[] __devinitdata = { | 611 | static struct pnp_device_id tpm_pnp_tbl[] __devinitdata = { |
612 | {"PNP0C31", 0}, /* TPM */ | 612 | {"PNP0C31", 0}, /* TPM */ |
613 | {"", 0} | 613 | {"ATM1200", 0}, /* Atmel */ |
614 | {"IFX0102", 0}, /* Infineon */ | ||
615 | {"BCM0101", 0}, /* Broadcom */ | ||
616 | {"NSC1200", 0}, /* National */ | ||
617 | /* Add new here */ | ||
618 | {"", 0}, /* User Specified */ | ||
619 | {"", 0} /* Terminator */ | ||
614 | }; | 620 | }; |
615 | 621 | ||
616 | static struct pnp_driver tis_pnp_driver = { | 622 | static struct pnp_driver tis_pnp_driver = { |
@@ -621,6 +627,11 @@ static struct pnp_driver tis_pnp_driver = { | |||
621 | .resume = tpm_tis_pnp_resume, | 627 | .resume = tpm_tis_pnp_resume, |
622 | }; | 628 | }; |
623 | 629 | ||
630 | #define TIS_HID_USR_IDX sizeof(tpm_pnp_tbl)/sizeof(struct pnp_device_id) -2 | ||
631 | module_param_string(hid, tpm_pnp_tbl[TIS_HID_USR_IDX].id, | ||
632 | sizeof(tpm_pnp_tbl[TIS_HID_USR_IDX].id), 0444); | ||
633 | MODULE_PARM_DESC(hid, "Set additional specific HID for this driver to probe"); | ||
634 | |||
624 | static int __init init_tis(void) | 635 | static int __init init_tis(void) |
625 | { | 636 | { |
626 | return pnp_register_driver(&tis_pnp_driver); | 637 | return pnp_register_driver(&tis_pnp_driver); |