Hi, > > > +#ifdef CONFIG_GPIOLIB_IRQCHIP > > > > Why do we need this ifdef? > > > > Hum yes, on second thought we probably need to depend on > CONFIG_REGMAP_IRQ here. But then, you'd also require the regmap_irq support for chips that don't support IRQs at all. devm_regmap_add_irq_fwnode() seems to be missing a stub version. -michael