commit | ab199d87dabc78d5662afbeba915e344cb6079f2 | [log] [tgz] |
---|---|---|
author | Mulin Chao <mlchao@nuvoton.com> | Sun Dec 20 18:44:23 2020 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Jan 15 11:39:45 2021 -0500 |
tree | 15879d2bda78d0c2646a4f6ee5902eb0bad55202 | |
parent | 69d8b0a0b46cd1224c4cd8ed1f55a45619cc36f2 [diff] |
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: Mulin Chao <mlchao@nuvoton.com>