Commit f5014dcd authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'optee-for-6.2' of...

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@jadeSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents 06ebd23a bd524072
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment