android_kernel_xiaomi_sm8350/drivers/char/tpm
Sam Ravnborg 4821cd111d tpm: fix section mismatch warning
Fix following warning:
WARNING: vmlinux.o(.init.text+0x32804): Section mismatch in reference from the function init_nsc() to the function .devexit.text:tpm_nsc_remove()

The function tpm_nsc_remove() are used outside __exit, so remove the __exit
annotation to make sure the function is always avilable.

Note: Trying to compare this module with other users of platform_device gve me
the impression that this driver needs some work to match other users.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Kylene Hall <kjhall@us.ibm.com>
Cc: Marcel Selhorst <tpm@selhorst.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-29 08:06:26 -07:00
..
Kconfig
Makefile
tpm_atmel.c
tpm_atmel.h
tpm_bios.c
tpm_infineon.c
tpm_nsc.c tpm: fix section mismatch warning 2008-04-29 08:06:26 -07:00
tpm_tis.c drivers/char: minor irq handler cleanups 2008-04-20 19:03:43 -04:00
tpm.c
tpm.h