[PATCH] tpm: replace odd LPC init function
Realized the tpm_lpc_init function isn't really necessary. Replaced it with vendor specific logic to find out the address the BIOS mapped the TPM to. This patch removes the tpm_lpc_init function, enums associated with it and calls to it. The patch also implements the replacement functionality. Signed-off-by: Kylene Hall <kjhall@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
a6df7da8f7
commit
e1a23c6671
@ -91,8 +91,6 @@ static inline void tpm_write_index(int index, int value)
|
||||
outb(value & 0xFF, TPM_DATA);
|
||||
}
|
||||
|
||||
extern int tpm_lpc_bus_init(struct pci_dev *, u16);
|
||||
|
||||
extern int tpm_register_hardware(struct pci_dev *,
|
||||
struct tpm_vendor_specific *);
|
||||
extern int tpm_open(struct inode *, struct file *);
|
||||
|
Reference in New Issue
Block a user