mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
Merge tag 'optee-for-6.2' of https://git.linaro.org/people/jens.wiklander/linux-tee into soc/drivers
Add missing __init/__exit annotations to OP-TEE driver * tag 'optee-for-6.2' of https://git.linaro.org/people/jens.wiklander/linux-tee: optee: Add __init/__exit annotations to module init/exit funcs Link: https://lore.kernel.org/r/Y3d4CHWl3Ofx5OrX@jade Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -188,7 +188,7 @@ void optee_remove_common(struct optee *optee)
|
||||
static int smc_abi_rc;
|
||||
static int ffa_abi_rc;
|
||||
|
||||
static int optee_core_init(void)
|
||||
static int __init optee_core_init(void)
|
||||
{
|
||||
/*
|
||||
* The kernel may have crashed at the same time that all available
|
||||
@@ -210,7 +210,7 @@ static int optee_core_init(void)
|
||||
}
|
||||
module_init(optee_core_init);
|
||||
|
||||
static void optee_core_exit(void)
|
||||
static void __exit optee_core_exit(void)
|
||||
{
|
||||
if (!smc_abi_rc)
|
||||
optee_smc_abi_unregister();
|
||||
|
||||
Reference in New Issue
Block a user