]> git.baikalelectronics.ru Git - kernel.git/commit
tpm: don't export static functions
authorStephen Rothwell <sfr@canb.auug.org.au>
Sun, 19 Oct 2008 03:25:46 +0000 (20:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 15:50:24 +0000 (08:50 -0700)
commit26b7e7afb85b86e20ddd8eb6a13d92d9e1712645
tree75f41905b0ba5ae88e7d7e5278eb6523bd44e25d
parent29a5160e4cfdbebfd7dc81b6cdaef5bc385d864b
tpm: don't export static functions

Today's linux-next build (powerpc_allyesconfig) failed like this:

drivers/char/tpm/tpm.c:1162: error: __ksymtab_tpm_dev_release causes a section type conflict

Caused by commit 68e5ea83341d24148dc9a0755b356180cb048a95 ("The
tpm_dev_release function is only called for platform devices, not pnp")
which exported a static function.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tpm/tpm.c