tpm_nsc: Fix bug when loading multiple TPM drivers
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 22 Jul 2011 21:39:20 +0000 (17:39 -0400)
committerJames Morris <jmorris@namei.org>
Tue, 26 Jul 2011 00:34:34 +0000 (10:34 +1000)
commit29412f0f6a19e34336368f13eab848091c343952
tree36c1c422022b4cfb4a98b60dd936ca4f98d24911
parent968543100a75bef892f52eb86e92e83b3b7bc581
tpm_nsc: Fix bug when loading multiple TPM drivers

This patch fixes kernel bugzilla 34572.

https://bugzilla.kernel.org/show_bug.cgi?id=34572

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reported-by: Witold Baryluk <baryluk@smp.if.uj.edu.pl>
Tested-by: Witold Baryluk <baryluk@smp.if.uj.edu.pl>
Signed-off-by: James Morris <jmorris@namei.org>
drivers/char/tpm/tpm_nsc.c