HomeFreeBSD

extres: regulator: fix the build without FDT

Description

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
Differential Revision: https://reviews.freebsd.org/D36790

Details

Provenance
kevansAuthored on Sep 29 2022, 7:33 PM
Reviewer
andrew
Differential Revision
D36790: extres: regulator: fix the build without FDT
Parents
rGb4c2a5b68986: arm64: coresight: fix the build without FDT
Branches
Unknown
Tags
Unknown