Re: [PATCH] clk: keystone: TI_SCI_PROTOCOL is needed for clk driver

From: Tero Kristo
Date: Thu Jun 22 2017 - 02:09:27 EST


On 22/06/17 00:50, Stephen Boyd wrote:
On 06/20, Arnd Bergmann wrote:
CONFIG_COMPILE_TEST allows building a configuration without
TI_SCI_PROTOCOL, which then fails to link:

drivers/clk/keystone/sci-clk.o: In function `ti_sci_clk_probe':
sci-clk.c:(.text.ti_sci_clk_probe+0x4c): undefined reference to `devm_ti_sci_get_handle'

This makes it a hard dependency. Right now, that means we can't
actually compile-test the driver unless ARCH_KEYSTONE is set as
well, but we can fix that by allowing TI_MESSAGE_MANAGER to
be selected for COMPILE_TEST as well.

Fixes: b745c0794e2f ("clk: keystone: Add sci-clk driver support")
Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>


Looks ok to me. Tero?


Yeah, looks okay to me also, been traveling so sorry about the latency.

Acked-by: Tero Kristo <t-kristo@xxxxxx>