Skip to content

rtc: generic: follow up for COMPILE_TEST

Alexandre Belloni linux-arm-kernel linux-m68k linux-parisc linux-rtc linux-sh linuxppc-dev lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 6 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] rtc: generic: follow up for COMPILE_TEST

Hi,

Quoted 10 lines · Arnd Bergmann

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.

Quoted 6 lines

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.

I like this approach. Maybe you can also remove the now unnecessary definitions from the various asm/rtc.h.

I have a small nitpick on the parisc patch.

I'll take the first patch, no need to resend that one.

Signature · 3 lines
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com