projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
832b6cd
)
pinctrl/nomadik: pass DT node to the irqdomain
author
Linus Walleij
<
[email protected]
>
Tue, 23 Oct 2012 09:44:42 +0000
(11:44 +0200)
committer
Linus Walleij
<
[email protected]
>
Tue, 23 Oct 2012 09:52:25 +0000
(11:52 +0200)
When creating the simple irqdomain, pass the DT node pointer along,
as is apropriate.
Acked-by: Lee Jones <
[email protected]
>
Reported-by: Gabriel Fernandez <
[email protected]
>
Signed-off-by: Linus Walleij <
[email protected]
>
drivers/pinctrl/pinctrl-nomadik.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/pinctrl-nomadik.c
b/drivers/pinctrl/pinctrl-nomadik.c
index 8bfbad60fcee1183a646288b89d498434ab6c87f..cf82d9ce4deeccc8c19c6104103fee84854c945a 100644
(file)
--- 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) {