Move stm32-bsec-optee-ta.h header to make it directly available in board drivers. Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> --- drivers/nvmem/bsec.c | 3 +-- drivers/nvmem/stm32-bsec-optee-ta.c | 3 +-- {drivers/nvmem => include/soc/stm32}/stm32-bsec-optee-ta.h | 0 3 files changed, 2 insertions(+), 4 deletions(-) rename {drivers/nvmem => include/soc/stm32}/stm32-bsec-optee-ta.h (100%) diff --git a/drivers/nvmem/bsec.c b/drivers/nvmem/bsec.c index 3fa73488f9f7..b92d925956ee 100644 --- a/drivers/nvmem/bsec.c +++ b/drivers/nvmem/bsec.c @@ -17,8 +17,7 @@ #include <mach/stm32mp/bsec.h> #include <machine_id.h> #include <linux/nvmem-provider.h> - -#include "stm32-bsec-optee-ta.h" +#include <soc/stm32/stm32-bsec-optee-ta.h> #define BSEC_OTP_SERIAL 13 diff --git a/drivers/nvmem/stm32-bsec-optee-ta.c b/drivers/nvmem/stm32-bsec-optee-ta.c index f89ce791dd12..b4b58b9d737a 100644 --- a/drivers/nvmem/stm32-bsec-optee-ta.c +++ b/drivers/nvmem/stm32-bsec-optee-ta.c @@ -6,8 +6,7 @@ */ #include <linux/tee_drv.h> - -#include "stm32-bsec-optee-ta.h" +#include <soc/stm32/stm32-bsec-optee-ta.h> /* * Read OTP memory diff --git a/drivers/nvmem/stm32-bsec-optee-ta.h b/include/soc/stm32/stm32-bsec-optee-ta.h similarity index 100% rename from drivers/nvmem/stm32-bsec-optee-ta.h rename to include/soc/stm32/stm32-bsec-optee-ta.h -- 2.39.5