I noticed that arch/arm/include/asm/gpio.h can almost be removed, after we have already removed the file for most other architectures now. When I removed it, I ran into problems with irq_to_gpio(), which we had already killed off in ARM, but it survived (barely) in the global headers and accidentally gained an invalid user This kills it off some more. The first patch should go as a bugfix into the MIPS tree, the other ones should only get merged later, but I think that's fine if they get submitted for 4.6. I left them as a series of five patches to clarify the build-time dependency. Merging patch 2 before 1 turns the MIPS runtime error into a compiletime error. changes in v2: * the MIPS change should now correctly fix the bug, thanks to Lars-Peter. * I left out the ARM specific change for now, and just adapted the generic file so we don't need that any more. * Fixed the bug that Russell pointed out Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html