reset: stm32: Fix compilation error
Subsystems (2)
PATCH 1/1 reset: stm32: Fix compilation error
The following compilation error occurs when environment variable KBUILD_OUTPUT is not set :
drivers/reset/stm32/stm32-reset-mp21.c:8:10: fatal error: stm32-reset-core.h: No such file or directory
8 | #include <stm32-reset-core.h>
| ^~~~~~~~~~~~~~~~~~~~As stm32-reset-core.h is located in same directory than stm32-reset-mp21.c, we should use #include "stm32-reset-core.h".
--- drivers/reset/stm32/stm32-reset-mp21.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/reset/stm32/stm32-reset-mp21.c +1 -1
@@ -5,7 +5,7 @@*/ #include <dm.h> -#include <stm32-reset-core.h> +#include "stm32-reset-core.h" #include <stm32mp21_rcc.h> #include <dt-bindings/reset/st,stm32mp21-rcc.h>
---
base-commit: 4433253ecf2041f9362a763bb6cb79960921ac7e
change-id: 20260428-fix_mp21_reset-b43242279da7
Best regards,
Signature · 1 line
Patrice Chotard <[email protected]>
Quoted 4 lines · Patrice Chotard
The following compilation error occurs when environment variable
KBUILD_OUTPUTis not set :
drivers/reset/stm32/stm32-reset-mp21.c:8:10: fatal error:stm32-reset-core.h: No such file or directory
Quoted 8 lines
8 | #include <stm32-reset-core.h> | ^~~~~~~~~~~~~~~~~~~~As
stm32-reset-core.his located in same directory thanstm32-reset-mp21.c, we should use #include "stm32-reset-core.h".Signed-off-by Patrice Chotard <[email protected]>---
Hi,
Best regards,
Raph
Quoted 16 lines · Raphaël Gallais-Pou
Quoted 7 lines · Patrice Chotard
The following compilation error occurs when environment variable
KBUILD_OUTPUTis not set :
drivers/reset/stm32/stm32-reset-mp21.c:8:10: fatal error:stm32-reset-core.h: No such file or directory 8 | #include <stm32-reset-core.h>
| ^~~~~~~~~~~~~~~~~~~~Quoted 5 lines
As
stm32-reset-core.his located in same directory thanstm32-reset-mp21.c, we should use #include "stm32-reset-core.h".Signed-off-by Patrice Chotard <[email protected]>---
Quoted 7 lines
Hi,
Reviewed-by Raphaël Gallais-Pou <[email protected]>Best regards,
Raph
Applied to u-boot-stm32/master
Thanks
Patrice