drivers: sam0: Fix deprecated IRQ macro usage
During conversion in #16937 a few IRQ macro aliases where missed (probably due to lack of enabled test cases that compile them), this fixes their usage. Signed-off-by: Derek Hageman <hageman@inthat.cloud>
This commit is contained in:
parent
2ee674fe32
commit
4c27e5b72e
2 changed files with 6 additions and 6 deletions
|
@ -597,12 +597,12 @@ static const struct adc_driver_api adc_sam0_api = {
|
|||
&adc_sam0_api); \
|
||||
static void adc_sam0_config_##n(struct device *dev) \
|
||||
{ \
|
||||
IRQ_CONNECT(DT_ATMEL_SAM0_ADC_ADC_##n##_IRQ, \
|
||||
DT_ATMEL_SAM0_ADC_ADC_##n##_IRQ_PRIORITY, \
|
||||
IRQ_CONNECT(DT_ATMEL_SAM0_ADC_ADC_##n##_IRQ_0, \
|
||||
DT_ATMEL_SAM0_ADC_ADC_##n##_IRQ_0_PRIORITY, \
|
||||
adc_sam0_isr, \
|
||||
DEVICE_GET(adc0_sam_##n), \
|
||||
0); \
|
||||
irq_enable(DT_ATMEL_SAM0_ADC_ADC_##n##_IRQ); \
|
||||
irq_enable(DT_ATMEL_SAM0_ADC_ADC_##n##_IRQ_0); \
|
||||
ADC_SAM0_CONFIGURE(n); \
|
||||
}
|
||||
|
||||
|
|
|
@ -432,12 +432,12 @@ static const struct counter_driver_api counter_sam0_tc32_driver_api = {
|
|||
&counter_sam0_tc32_driver_api); \
|
||||
static void counter_sam0_tc32_config_##n(struct device *dev) \
|
||||
{ \
|
||||
IRQ_CONNECT(DT_ATMEL_SAM0_TC32_TC_##n##_IRQ, \
|
||||
DT_ATMEL_SAM0_TC32_TC_##n##_IRQ_PRIORITY, \
|
||||
IRQ_CONNECT(DT_ATMEL_SAM0_TC32_TC_##n##_IRQ_0, \
|
||||
DT_ATMEL_SAM0_TC32_TC_##n##_IRQ_0_PRIORITY, \
|
||||
counter_sam0_tc32_isr, \
|
||||
DEVICE_GET(counter_sam0_tc32_##n), \
|
||||
0); \
|
||||
irq_enable(DT_ATMEL_SAM0_TC32_TC_##n##_IRQ); \
|
||||
irq_enable(DT_ATMEL_SAM0_TC32_TC_##n##_IRQ_0); \
|
||||
}
|
||||
|
||||
#if DT_ATMEL_SAM0_TC32_TC_0_BASE_ADDRESS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue