From: Rajiv Andrade Date: Tue, 1 Nov 2011 11:42:58 +0000 (-0200) Subject: TPM: NSC and TIS drivers X86 dependency fix X-Git-Tag: v3.3-rc1~105^2^2~13^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f592f2a7d74c66763a6903edd04109132674d73;p=profile%2Fivi%2Fkernel-x86-ivi.git TPM: NSC and TIS drivers X86 dependency fix A previous commit removed its PNP dependency, that in fact wasn't necessary, but also allowed it be built for other architectures not supported by it. This then caused kernel oops on PPC based machines. I'm placing a x86 dependency back correctly. Signed-off-by: Rajiv Andrade --- diff --git a/drivers/char/tpm/Kconfig b/drivers/char/tpm/Kconfig index f6595ab..4d9273a 100644 --- a/drivers/char/tpm/Kconfig +++ b/drivers/char/tpm/Kconfig @@ -27,6 +27,7 @@ if TCG_TPM config TCG_TIS tristate "TPM Interface Specification 1.2 Interface" + depends on X86 ---help--- If you have a TPM security chip that is compliant with the TCG TIS 1.2 TPM specification say Yes and it will be accessible @@ -35,6 +36,7 @@ config TCG_TIS config TCG_NSC tristate "National Semiconductor TPM Interface" + depends on X86 ---help--- If you have a TPM security chip from National Semiconductor say Yes and it will be accessible from within Linux. To