]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] tpm: return chip from tpm_register_hardware
authorKylene Jo Hall <kjhall@us.ibm.com>
Sat, 22 Apr 2006 09:37:26 +0000 (02:37 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 22 Apr 2006 16:19:53 +0000 (09:19 -0700)
commitf782d807f57cf68b34e880257debb4152e93fce2
treefe65a043531f3b896f5dba08bbb8ae385332f7d1
parent7c935ed0e91240d17eeb5eebed6d9277a4b47561
[PATCH] tpm: return chip from tpm_register_hardware

Changes in the 1.2 TPM Specification make it necessary to update some fields
of the chip structure in the initialization function after it is registered
with tpm.c thus tpm_register_hardware was modified to return a pointer to the
structure.  This patch makes that change and the associated changes in
tpm_atmel and tpm_nsc.  The changes to tpm_infineon will be coming in a patch
from Marcel Selhorst.

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>
drivers/char/tpm/tpm.c
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm_atmel.c
drivers/char/tpm/tpm_atmel.h
drivers/char/tpm/tpm_nsc.c