]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: at91/dt: sama5d4: use macro instead of numeric value
authorLudovic Desroches <ludovic.desroches@atmel.com>
Thu, 13 Nov 2014 09:29:07 +0000 (10:29 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 19 Nov 2014 11:12:04 +0000 (12:12 +0100)
There is a macro for the irq type.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/boot/dts/sama5d4.dtsi

index e0157b0f075cb6b8660eb0b8994ba056f6a73fc7..338dfd85658fb0c0bdb059c09448026faf52ae79 100644 (file)
                        i2c2: i2c@f8024000 {
                                compatible = "atmel,at91sam9x5-i2c";
                                reg = <0xf8024000 0x4000>;
-                               interrupts = <34 4 6>;
+                               interrupts = <34 IRQ_TYPE_LEVEL_HIGH 6>;
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_i2c2>;
                                #address-cells = <1>;