HomeFreeBSD

extres: syscon: pull in sys/malloc.h (fix !FDT)

Description

extres: syscon: pull in sys/malloc.h (fix !FDT)

syscon currently includes sys/malloc.h via header pollution from
dev/ofw/ofw_bus.h -> dev/ofw/openfirm.h. Fix the build without FDT
defined by including sys/malloc.h directly.

Reviewed by: andrew, imp, manu

(cherry picked from commit 79794d5c18b7df9458b3c609a189bf2159e234e4)

Details

Provenance
kevansAuthored on Sep 29 2022, 7:33 PM
Parents
rGaf0995b7f365: uart: uart_cpu_arm64: fix the build without FDT
Branches
Unknown
Tags
Unknown