diff options
author | Sumit Garg <sumit.garg@linaro.org> | 2024-03-25 16:11:01 +0100 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2024-04-03 09:19:31 +0200 |
commit | 0439fcff304acdedfc493dbf900dce86922fd31f (patch) | |
tree | 55032038ba16df410a84c0f54589925f06836b0e /drivers/tee/tee_shm_pool.c | |
parent | Linux 6.9-rc1 (diff) | |
download | linux-0439fcff304acdedfc493dbf900dce86922fd31f.tar.gz linux-0439fcff304acdedfc493dbf900dce86922fd31f.tar.bz2 linux-0439fcff304acdedfc493dbf900dce86922fd31f.zip |
tee: Refactor TEE subsystem header files
Since commit 25559c22cef8 ("tee: add kernel internal client interface"),
it has been a common include/linux/tee_drv.h header file which is shared
to hold TEE subsystem internal bits along with the APIs exposed to the
TEE client drivers. However, this practice is prone to TEE subsystem
internal APIs abuse and especially so with the new TEE implementation
drivers being added to reuse existing functionality.
In order to address this split TEE subsystem internal bits as a separate
header file: include/linux/tee_core.h which should be the one used by
TEE implementation drivers. With that include/linux/tee_drv.h lists only
APIs exposed by TEE subsystem to the TEE client drivers.
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'drivers/tee/tee_shm_pool.c')
-rw-r--r-- | drivers/tee/tee_shm_pool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tee/tee_shm_pool.c b/drivers/tee/tee_shm_pool.c index 058bfbac657a..80004b55628d 100644 --- a/drivers/tee/tee_shm_pool.c +++ b/drivers/tee/tee_shm_pool.c @@ -6,7 +6,7 @@ #include <linux/dma-buf.h> #include <linux/genalloc.h> #include <linux/slab.h> -#include <linux/tee_drv.h> +#include <linux/tee_core.h> #include "tee_private.h" static int pool_op_gen_alloc(struct tee_shm_pool *pool, struct tee_shm *shm, |