]> git.karo-electronics.de Git - linux-beck.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)
commite0dd03caf20d040a0a86b6bd74028ec9bda545f5
treefe65a043531f3b896f5dba08bbb8ae385332f7d1
parent90dda520c1962d55a0e1d2571deed0d75fd6d6f1
[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