tpm: change 'tpm_suspend_pcr' to be module parameter
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 1 Oct 2010 21:16:39 +0000 (14:16 -0700)
committerJames Morris <jmorris@namei.org>
Wed, 20 Oct 2010 23:12:42 +0000 (10:12 +1100)
commit9b3056cca09529d34af2d81305b2a9c6b622ca1b
tree2b457203d005bd845480c6a9858cd0a8d9f53e4a
parent36f7f28416c97dbb725154930066d115b4447e17
tpm: change 'tpm_suspend_pcr' to be module parameter

Fix the following warning:

drivers/char/tpm/tpm.c:1085: warning: `tpm_suspend_setup' defined but not used

and make the workaround operable in case when TPM is compiled as a module.
As a side-effect the option will be called tpm.suspend_pcr.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Cc: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Cc: David Safford <safford@watson.ibm.com>
Cc: James Morris <jmorris@namei.org>
Cc: Debora Velarde <debora@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Morris <jmorris@namei.org>
drivers/char/tpm/tpm.c