Replace magic numbers used to describe legacy PCI IRQ interrupts with #define. Signed-off-by: Andrew Murray <andrew.murray@xxxxxxx> --- arch/xtensa/boot/dts/virt.dts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/xtensa/boot/dts/virt.dts b/arch/xtensa/boot/dts/virt.dts index 611b98a02a65..14e9a7beac2d 100644 --- a/arch/xtensa/boot/dts/virt.dts +++ b/arch/xtensa/boot/dts/virt.dts @@ -1,6 +1,8 @@ // SPDX-License-Identifier: GPL-2.0 /dts-v1/; +#include <dt-bindings/interrupt-controller/irq.h> + / { compatible = "cdns,xtensa-iss"; #address-cells = <1>; @@ -61,12 +63,12 @@ // PCI_DEVICE(3) INT#(1) CONTROLLER(PHANDLE) CONTROLLER_DATA(2) interrupt-map = < - 0x0000 0x0 0x0 0x1 &pic 0x0 0x1 - 0x0800 0x0 0x0 0x1 &pic 0x1 0x1 - 0x1000 0x0 0x0 0x1 &pic 0x2 0x1 - 0x1800 0x0 0x0 0x1 &pic 0x3 0x1 + 0x0000 0x0 0x0 IRQ_INTA &pic 0x0 0x1 + 0x0800 0x0 0x0 IRQ_INTA &pic 0x1 0x1 + 0x1000 0x0 0x0 IRQ_INTA &pic 0x2 0x1 + 0x1800 0x0 0x0 IRQ_INTA &pic 0x3 0x1 >; - interrupt-map-mask = <0x1800 0x0 0x0 0x7>; + interrupt-map-mask = <0x1800 0x0 0x0 IRQ_INT_ALL>; }; }; -- 2.21.0