android_kernel_xiaomi_sm8350/drivers/crypto/ccree
Uwe Kleine-König a36c929fd7 crypto: ccree - Make cc_debugfs_global_fini() available for module init function
[ Upstream commit 8e96729fc26c8967db45a3fb7a60387619f77a22 ]

ccree_init() calls cc_debugfs_global_fini(), the former is an init
function and the latter an exit function though.

A modular build emits:

	WARNING: modpost: drivers/crypto/ccree/ccree.o: section mismatch in reference: init_module (section: .init.text) -> cc_debugfs_global_fini (section: .exit.text)

(with CONFIG_DEBUG_SECTION_MISMATCH=y).

Fixes: 4f1c596df706 ("crypto: ccree - Remove debugfs when platform_driver_register failed")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-18 11:41:18 +01:00
..
cc_aead.c
cc_aead.h
cc_buffer_mgr.c
cc_buffer_mgr.h
cc_cipher.c
cc_cipher.h
cc_crypto_ctx.h
cc_debugfs.c crypto: ccree - Make cc_debugfs_global_fini() available for module init function 2023-01-18 11:41:18 +01:00
cc_debugfs.h
cc_driver.c crypto: ccree - Remove debugfs when platform_driver_register failed 2023-01-18 11:41:18 +01:00
cc_driver.h
cc_fips.c
cc_fips.h
cc_hash.c
cc_hash.h
cc_host_regs.h
cc_hw_queue_defs.h
cc_kernel_regs.h
cc_lli_defs.h
cc_pm.c
cc_pm.h
cc_request_mgr.c
cc_request_mgr.h
cc_sram_mgr.c
cc_sram_mgr.h
Makefile