diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-05-29 19:15:39 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-05-30 09:50:47 +0200 |
commit | 90c40257fe1a9cd0373507cfb05390ad1f2c06ee (patch) | |
tree | 5ac2d46e3f5fc2ae49136074a990cb7d9865e1e3 /arch/arm/boot/dts/stuib.dtsi | |
parent | ARM: ux500: use #include syntax to include *.dtsi. (diff) | |
download | linux-90c40257fe1a9cd0373507cfb05390ad1f2c06ee.tar.xz linux-90c40257fe1a9cd0373507cfb05390ad1f2c06ee.zip |
ARM: ux500: use symbolic names for interrupt flags
This switches to including <dt-bindings/interrupt-controller/irq.h>
and referencing the apropriate flags from there instead of
open-coding the flag numerals everywhere in the ux500 device
trees.
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/stuib.dtsi')
-rw-r--r-- | arch/arm/boot/dts/stuib.dtsi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/stuib.dtsi b/arch/arm/boot/dts/stuib.dtsi index 0fdb2594ac5f..b47b62adf6d0 100644 --- a/arch/arm/boot/dts/stuib.dtsi +++ b/arch/arm/boot/dts/stuib.dtsi @@ -9,13 +9,15 @@ * http://www.gnu.org/copyleft/gpl.html */ +#include <dt-bindings/interrupt-controller/irq.h> + / { soc { i2c@80004000 { stmpe1601: stmpe1601@40 { compatible = "st,stmpe1601"; reg = <0x40>; - interrupts = <26 0x2>; + interrupts = <26 IRQ_TYPE_EDGE_FALLING>; interrupt-parent = <&gpio6>; interrupt-controller; |