[PATCH v4 05/14] m68k: amiga: Convert to clocksource API

2018-11-30 Thread Finn Thain
Add a platform clocksource by adapting the existing arch_gettimeoffset implementation. Signed-off-by: Finn Thain Acked-by: Linus Walleij Tested-by: Michael Schmitz --- Changed since v3: - Don't test for timer counter > 0 as that should always be true. - Use clk_offset variable to track the

[PATCH v4 05/14] m68k: amiga: Convert to clocksource API

2018-11-30 Thread Finn Thain
Add a platform clocksource by adapting the existing arch_gettimeoffset implementation. Signed-off-by: Finn Thain Acked-by: Linus Walleij Tested-by: Michael Schmitz --- Changed since v3: - Don't test for timer counter > 0 as that should always be true. - Use clk_offset variable to track the