Skip to content
Commit ab199d87 authored by Mulin Chao's avatar Mulin Chao Committed by Anas Nashif
Browse files

driver: host-subs: replace defined() macro with IS_ENABLED().



Replace marco function, defined(), with IS_ENABLED() in host sub-devices
driver implementation. In this PR, we won't replace the macros which
cause -Wimplicit-function-declaration warning if related configuration
is not enabled or its type is not boolean..

Signed-off-by: default avatarMulin Chao <mlchao@nuvoton.com>
parent 69d8b0a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment