device.h: Do not generate "okay" devicetree nodes if DT is unsupported
The macro DT_FOREACH_STATUS_OKAY_NODE is only available if devicetree
is supported. Using it for platforms that do not support devicetree
causes compilation errors.
Signed-off-by:
Wolfgang Puffitsch <wopu@demant.com>
Loading
Please sign in to comment