diff options
author | Tomasz Figa <t.figa@samsung.com> | 2012-09-20 18:34:07 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-09-20 18:34:07 -0400 |
commit | d3c977927bd6320f1e9d4098989d6001bdcefc09 (patch) | |
tree | ba952dc8986a560ef12c0a9f944cc4e60b5a9534 /drivers/pinctrl | |
parent | 2f0253ffed8ed1a7e0a733e8e86a7604eb80027a (diff) |
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 <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/pinctrl-exynos.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
447 | 447 | ||
448 | d->wkup_irqd = irq_domain_add_linear(wkup_np, d->ctrl->nr_wint, | 448 | d->wkup_irqd = irq_domain_add_linear(wkup_np, d->ctrl->nr_wint, |
449 | &exynos_wkup_irqd_ops, d); | 449 | &exynos_wkup_irqd_ops, d); |
450 | if (!d->gpio_irqd) { | 450 | if (!d->wkup_irqd) { |
451 | dev_err(dev, "wakeup irq domain allocation failed\n"); | 451 | dev_err(dev, "wakeup irq domain allocation failed\n"); |
452 | return -ENXIO; | 452 | return -ENXIO; |
453 | } | 453 | } |