tpm: fix regression caused by section type conflict of tpm_dev_release() in ppc builds
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 27 May 2013 19:39:57 +0000 (21:39 +0200)
committerPeter Huewe <peterhuewe@gmx.de>
Mon, 27 May 2013 20:09:09 +0000 (22:09 +0200)
commite2fa3d799b7471f00adae59ff36260ad8237929f
tree0ae8f07c4efd4720e8ee6afad93d98927fc1ac4e
parent5b88e270253db6d817e6a2f61909d1e53620e990
tpm: fix regression caused by section type conflict of tpm_dev_release() in ppc builds

The 8119807 commit reintroduced a regression
(error: __ksymtab_tpm_dev_release causes a section type conflict) that was fixed by commit
cbb2ed4.
Fix it for good by adding the prototype to tpm.h so sparse doesn't
complain about it anymore.

Reported-by: Tony Camuso <tcamuso@redhat.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
drivers/char/tpm/tpm.c
drivers/char/tpm/tpm.h