]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
reset: stm32: Fix compilation error
authorPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 28 Apr 2026 16:10:59 +0000 (18:10 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 12 May 2026 13:52:53 +0000 (15:52 +0200)
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".

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Raphaƫl Gallais-Pou <rgallaispou@gmail.com>
drivers/reset/stm32/stm32-reset-mp21.c

index 7d169d7582f8255a9078ccce41bc1f4e798508fb..0e92b0f5d5d528b2c076768945d9f64b6aaf916d 100644 (file)
@@ -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>