> +#ifdef CONFIG_PCIEAER > + struct device_node *node = dev->of_node; > +#endif > > breg_val = nwl_bridge_readl(pcie, E_BREG_CAPABILITIES) & BREG_PRESENT; > if (!breg_val) { > @@ -744,6 +747,9 @@ static int nwl_pcie_bridge_init(struct nwl_pcie *pcie) > pcie->irq_misc); > return err; > } > +#ifdef CONFIG_PCIEAER > + node->data = &pcie->irq_misc; > +#endif Is there any good reason for these ifdefs? Always assigning the node data would seem harmless and much cleaner to me.