aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm_infineon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/tpm/tpm_infineon.c')
-rw-r--r--drivers/char/tpm/tpm_infineon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/tpm/tpm_infineon.c b/drivers/char/tpm/tpm_infineon.c
index 07542f9e7644..0e3241645c19 100644
--- a/drivers/char/tpm/tpm_infineon.c
+++ b/drivers/char/tpm/tpm_infineon.c
@@ -75,7 +75,7 @@ enum infineon_tpm_status_bits {
75enum infineon_tpm_values { 75enum infineon_tpm_values {
76 CHIP_ID1 = 0x20, 76 CHIP_ID1 = 0x20,
77 CHIP_ID2 = 0x21, 77 CHIP_ID2 = 0x21,
78 DAR = 0x30, 78 TPM_DAR = 0x30,
79 RESET_LP_IRQC_DISABLE = 0x41, 79 RESET_LP_IRQC_DISABLE = 0x41,
80 ENABLE_REGISTER_PAIR = 0x55, 80 ENABLE_REGISTER_PAIR = 0x55,
81 IOLIMH = 0x60, 81 IOLIMH = 0x60,
@@ -390,7 +390,7 @@ static int __devinit tpm_inf_probe(struct pci_dev *pci_dev,
390 } 390 }
391 391
392 /* activate register */ 392 /* activate register */
393 outb(DAR, TPM_ADDR); 393 outb(TPM_DAR, TPM_ADDR);
394 outb(0x01, TPM_DATA); 394 outb(0x01, TPM_DATA);
395 outb(DISABLE_REGISTER_PAIR, TPM_ADDR); 395 outb(DISABLE_REGISTER_PAIR, TPM_ADDR);
396 396