boards: posix: native_posix: Convert to new DT_INST macros

Convert older DT_INST_ macro use the new include/devicetree.h
DT_INST macro APIs.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-03-25 12:18:33 -05:00 committed by Kumar Gala
commit 15d3c3bb40

View file

@ -4,5 +4,5 @@
* SPDX-License-Identifier: Apache-2.0
*/
#define DT_FLASH_DEV_NAME DT_INST_0_ZEPHYR_SIM_FLASH_LABEL
#define DT_FLASH_DEV_NAME DT_LABEL(DT_INST(0, zephyr_sim_flash))
#define DT_UART_0_DEV_NAME DT_ZEPHYR_NATIVE_POSIX_UART_UART_LABEL