driver/char/tpm: declare internal symbols as static
authorXiaoyan Zhang <xiaoyan.zhang@intel.com>
Thu, 29 Aug 2013 12:39:11 +0000 (20:39 +0800)
committerJames Morris <james.l.morris@oracle.com>
Tue, 4 Sep 2012 23:52:23 +0000 (16:52 -0700)
commit81198078d7da4240f3cbfc2c6a8ea6cd417f51a7
tree8f92437b16f9013d2632a149dea0a0cf357d2734
parentf84fdff0fdcda7e509ce530e0ee612233a2104fb
driver/char/tpm: declare internal symbols as static

This patch declares the internal struct and functions as static to provide
more security.

Signed-off-by: Xiaoyan Zhang <xiaoyan.zhang@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Kent Yoder <key@linux.vnet.ibm.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
drivers/char/tpm/tpm.c
drivers/char/tpm/tpm_ppi.c