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