Commit 38843e29 authored by Linus Walleij's avatar Linus Walleij

pinctrl/nomadik: pass DT node to the irqdomain

When creating the simple irqdomain, pass the DT node pointer along,
as is apropriate.
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
Reported-by: default avatarGabriel Fernandez <gabriel.fernandez@stericsson.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 832b6cdf
......@@ -1387,7 +1387,7 @@ static int __devinit nmk_gpio_probe(struct platform_device *dev)
if (!np)
irq_start = NOMADIK_GPIO_TO_IRQ(pdata->first_gpio);
nmk_chip->domain = irq_domain_add_simple(NULL,
nmk_chip->domain = irq_domain_add_simple(np,
NMK_GPIO_PER_CHIP, irq_start,
&nmk_gpio_irq_simple_ops, nmk_chip);
if (!nmk_chip->domain) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment