dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST...
Change code from using now deprecated DT_<COMPAT>_<INSTANCE>_<PROP> defines to using DT_INST_<INSTANCE>_<COMPAT>_<PROP>. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
01e54a5472
commit
a2693975d7
206 changed files with 1480 additions and 1479 deletions
|
@ -256,8 +256,8 @@ static struct mcux_rtc_config mcux_rtc_config_0 = {
|
|||
.irq_config_func = mcux_rtc_irq_config_0,
|
||||
.info = {
|
||||
.max_top_value = UINT32_MAX,
|
||||
.freq = DT_NXP_KINETIS_RTC_0_CLOCK_FREQUENCY /
|
||||
DT_NXP_KINETIS_RTC_0_PRESCALER,
|
||||
.freq = DT_INST_0_NXP_KINETIS_RTC_CLOCK_FREQUENCY /
|
||||
DT_INST_0_NXP_KINETIS_RTC_PRESCALER,
|
||||
.flags = COUNTER_CONFIG_INFO_COUNT_UP,
|
||||
.channels = 1,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue