Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Nov 2022 17:03:13 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: cd365639563a - stable/13 - extres: regulator: fix the build without FDT
Message-ID:  <202211021703.2A2H3DsD065111@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kevans:

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

commit cd365639563a733b775eea71c4b6a3c5f5638574
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2022-09-29 19:33:33 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2022-11-02 17:02:25 +0000

    extres: regulator: fix the build without FDT
    
    The regnode interface is currently only built for FDT, thus not
    applicable to ACPI-only kernels.  Move the "regnode_if.h" include
    underneath a previously existing FDT cpp segment.
    
    Reviewed by:    andrew, imp, manu
    
    (cherry picked from commit 23c318ed86c4b4e6c474823a944f5fb9f2f1c2fd)
---
 sys/dev/extres/regulator/regulator.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/extres/regulator/regulator.h b/sys/dev/extres/regulator/regulator.h
index 587d788d3608..03a8fbe1f534 100644
--- a/sys/dev/extres/regulator/regulator.h
+++ b/sys/dev/extres/regulator/regulator.h
@@ -34,8 +34,8 @@
 #include <sys/sysctl.h>
 #ifdef FDT
 #include <dev/ofw/ofw_bus.h>
-#endif
 #include "regnode_if.h"
+#endif
 
 SYSCTL_DECL(_hw_regulator);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211021703.2A2H3DsD065111>