diff options
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/mt7621-dts/mt7621.dtsi | 4 | ||||
-rw-r--r-- | drivers/staging/mt7621-gpio/gpio-mt7621.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/mt7621-dts/mt7621.dtsi b/drivers/staging/mt7621-dts/mt7621.dtsi index d7e49810f9e3..eb3966b7f033 100644 --- a/drivers/staging/mt7621-dts/mt7621.dtsi +++ b/drivers/staging/mt7621-dts/mt7621.dtsi @@ -60,7 +60,7 @@ reg = <0x100 0x100>; }; - gpio@600 { + gpio: gpio@600 { #address-cells = <1>; #size-cells = <0>; @@ -70,7 +70,7 @@ interrupt-parent = <&gic>; interrupts = <GIC_SHARED 12 IRQ_TYPE_LEVEL_HIGH>; interrupt-controller; - #interrupt-cells = <1>; + #interrupt-cells = <2>; gpio0: bank@0 { reg = <0>; diff --git a/drivers/staging/mt7621-gpio/gpio-mt7621.c b/drivers/staging/mt7621-gpio/gpio-mt7621.c index c96ae678e91f..79b8c5868e1e 100644 --- a/drivers/staging/mt7621-gpio/gpio-mt7621.c +++ b/drivers/staging/mt7621-gpio/gpio-mt7621.c @@ -317,7 +317,7 @@ mediatek_gpio_gpio_map(struct irq_domain *d, unsigned int irq, } static const struct irq_domain_ops irq_domain_ops = { - .xlate = irq_domain_xlate_onecell, + .xlate = irq_domain_xlate_twocell, .map = mediatek_gpio_gpio_map, }; |