Today's linux-next kernel allowed building the rtc-generic driver (and most other rtc drivers) on all architectures, but this caused some errors on architectures without asm/rtc.h. This series reworks that driver to avoid the dependency, and simplifies all four implementations. My first approach was to split the driver into four separate drivers, but that didn't feel right when three of them have their own multiplexors. The first five patches can be applied independent of one other, while patch 6 is optional and can be applied when all others are merged. Alternatively, they can all go in through the rtc tree. I compile-tested only the powerpc and sh targets for which I happened to have cross-compilers installed. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html