git: 81bdc9ebe3d5 - main - Include sys/malloc.h directly in the qoriq clock

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Thu, 03 Nov 2022 10:16:30 UTC
The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=81bdc9ebe3d55a4ee30ee123ada62e1fe1ea9b63

commit 81bdc9ebe3d55a4ee30ee123ada62e1fe1ea9b63
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2022-11-03 09:41:05 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2022-11-03 09:45:47 +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.
---
 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>