We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e633f5 commit dad83b9Copy full SHA for dad83b9
drivers/pinctrl/renesas/pinctrl-rzg2l.c
@@ -16,6 +16,7 @@
16
#include <linux/of.h>
17
#include <linux/of_irq.h>
18
#include <linux/platform_device.h>
19
+#include <linux/property.h>
20
#include <linux/seq_file.h>
21
#include <linux/spinlock.h>
22
@@ -2623,7 +2624,7 @@ static int rzg2l_gpio_register(struct rzg2l_pinctrl *pctrl)
2623
2624
2625
girq = &chip->irq;
2626
gpio_irq_chip_set_chip(girq, &rzg2l_gpio_irqchip);
- girq->fwnode = of_node_to_fwnode(np);
2627
+ girq->fwnode = dev_fwnode(pctrl->dev);
2628
girq->parent_domain = parent_domain;
2629
girq->child_to_parent_hwirq = rzg2l_gpio_child_to_parent_hwirq;
2630
girq->populate_parent_alloc_arg = rzg2l_gpio_populate_parent_fwspec;
0 commit comments