From: Tomasz Figa Date: Thu, 20 Sep 2012 22:34:07 +0000 (+0900) Subject: pinctrl: exynos: Fix wakeup IRQ domain registration check X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d3c977927bd6320f1e9d4098989d6001bdcefc09;p=linux-beck.git pinctrl: exynos: Fix wakeup IRQ domain registration check Because of a typo, incorrect field of a structure was being checked. This patch fixes the check to use correct field. Signed-off-by: Tomasz Figa Signed-off-by: Kukjin Kim --- diff --git a/drivers/pinctrl/pinctrl-exynos.c b/drivers/pinctrl/pinctrl-exynos.c index 0d01d19edc91..21362f48d370 100644 --- a/drivers/pinctrl/pinctrl-exynos.c +++ b/drivers/pinctrl/pinctrl-exynos.c @@ -447,7 +447,7 @@ static int exynos_eint_wkup_init(struct samsung_pinctrl_drv_data *d) d->wkup_irqd = irq_domain_add_linear(wkup_np, d->ctrl->nr_wint, &exynos_wkup_irqd_ops, d); - if (!d->gpio_irqd) { + if (!d->wkup_irqd) { dev_err(dev, "wakeup irq domain allocation failed\n"); return -ENXIO; }