soc: xtensa: 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:
parent
4d977e43ca
commit
120674660e
6 changed files with 12 additions and 12 deletions
|
@ -45,7 +45,7 @@
|
|||
#define IOAPIC_HIGH 0
|
||||
|
||||
/* DW interrupt controller */
|
||||
#define DW_ICTL_IRQ_CAVS_OFFSET CAVS_IRQ_NUMBER(DT_INST_0_SNPS_DESIGNWARE_INTC_IRQ_0)
|
||||
#define DW_ICTL_IRQ_CAVS_OFFSET CAVS_IRQ_NUMBER(DT_IRQN(DT_INST(0, snps_designware_intc)))
|
||||
#define DW_ICTL_NUM_IRQS 9
|
||||
|
||||
/* GPIO */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue