> Or even refactor ioport.h (in a separate patch) as we seems already have > two users (and might be more in the existing code): > > #define DEFINE_RES_IRQ_NAMED_FLAGS(_irq, _name, _flags) \ > DEFINE_RES_NAMED((_irq), 1, (_name), (_flags) | IORESOURCE_IRQ) > #define DEFINE_RES_IRQ_NAMED(_irq, _name) \ > DEFINE_RES_IRQ_NAMED_FLAGS((_irq), (_name), 0) > #define DEFINE_RES_IRQ(_irq) \ > DEFINE_RES_IRQ_NAMED((_irq), NULL) > > (Note, I will Ack such a patch once it appears.) I'll add a new patch to the series. I'll probably include the MEM, IO, and RES variants as well.