soc: stm32: Convert CONFIG_RTC leftover to DT_
Convert CONFIG_RTC_0_IRQ_PRI to DT_ namespace. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
2cefc60973
commit
d2e305491f
6 changed files with 6 additions and 6 deletions
|
@ -305,7 +305,7 @@ DEVICE_AND_API_INIT(rtc_stm32, CONFIG_RTC_0_NAME, &rtc_stm32_init,
|
|||
|
||||
static void rtc_stm32_irq_config(struct device *dev)
|
||||
{
|
||||
IRQ_CONNECT(DT_RTC_0_IRQ, CONFIG_RTC_0_IRQ_PRI,
|
||||
IRQ_CONNECT(DT_RTC_0_IRQ, DT_RTC_0_IRQ_PRI,
|
||||
rtc_stm32_isr, DEVICE_GET(rtc_stm32), 0);
|
||||
irq_enable(DT_RTC_0_IRQ);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue