[PATCH] tpm_infineon section fixup
authorRandy Dunlap <rdunlap@xenotime.net>
Sat, 22 Apr 2006 09:39:18 +0000 (02:39 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 22 Apr 2006 16:19:54 +0000 (09:19 -0700)
commit397c718299d848ff305ecd955838a9bd32f1f881
tree28e176fb5f3c6dd61a9ee4fdfc1a099b8a51199f
parent8b006db604527c566dc1dd0aebae37714143aaef
[PATCH] tpm_infineon section fixup

Use __devexit_p() for the exit/remove function to protect against
discarding it.

WARNING: drivers/char/tpm/tpm_infineon.o - Section mismatch: reference to .exit.text:tpm_inf_pnp_remove from .data between 'tpm_inf_pnp' (at offset 0x20) and 'tpm_inf'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Kylene Jo Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tpm/tpm_infineon.c