git: 9d37de148e56 - stable/13 - Include sys/malloc.h directly in the qoriq clock

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Mon, 23 Jan 2023 12:37:37 UTC
The branch stable/13 has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=9d37de148e563214d6be49396c39c75271f2aeb3

commit 9d37de148e563214d6be49396c39c75271f2aeb3
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2022-11-03 09:41:05 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2023-01-23 12:36:27 +0000

    Include sys/malloc.h directly in the qoriq clock
    
    We depend on header pollution to include sys/malloc.h. Include it
    directly to fix the no-FDT build.
    
    (cherry picked from commit 81bdc9ebe3d55a4ee30ee123ada62e1fe1ea9b63)
---
 sys/arm64/qoriq/clk/qoriq_clk_pll.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/arm64/qoriq/clk/qoriq_clk_pll.c b/sys/arm64/qoriq/clk/qoriq_clk_pll.c
index 813bc76c3349..e7127387ceff 100644
--- a/sys/arm64/qoriq/clk/qoriq_clk_pll.c
+++ b/sys/arm64/qoriq/clk/qoriq_clk_pll.c
@@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/bus.h>
+#include <sys/malloc.h>
 
 #include <dev/extres/clk/clk.h>
 #include <dev/extres/clk/clk_fixed.h>