[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>

authored by Randy Dunlap and committed by Linus Torvalds 397c7182 8b006db6

+2 -1
+2 -1
drivers/char/tpm/tpm_infineon.c
··· 15 15 * License. 16 16 */ 17 17 18 + #include <linux/init.h> 18 19 #include <linux/pnp.h> 19 20 #include "tpm.h" 20 21 ··· 521 520 }, 522 521 .id_table = tpm_pnp_tbl, 523 522 .probe = tpm_inf_pnp_probe, 524 - .remove = tpm_inf_pnp_remove, 523 + .remove = __devexit_p(tpm_inf_pnp_remove), 525 524 }; 526 525 527 526 static int __init init_inf(void)