From: Linus Walleij Date: Tue, 23 Oct 2012 09:44:42 +0000 (+0200) Subject: pinctrl/nomadik: pass DT node to the irqdomain X-Git-Tag: upstream/snapshot3+hdmi~6348^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=38843e29217bc6b6fce80a5bf19d1636ee337c77;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git pinctrl/nomadik: pass DT node to the irqdomain When creating the simple irqdomain, pass the DT node pointer along, as is apropriate. Acked-by: Lee Jones Reported-by: Gabriel Fernandez Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/pinctrl-nomadik.c b/drivers/pinctrl/pinctrl-nomadik.c index 8bfbad6..cf82d9c 100644 --- a/drivers/pinctrl/pinctrl-nomadik.c +++ b/drivers/pinctrl/pinctrl-nomadik.c @@ -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) {