Re: [PATCH] rtc: hym8563: include clkout code only if COMMON_CLKactive

From: Stephen Rothwell
Date: Tue Dec 17 2013 - 17:28:22 EST


Hi Heiko,

On Tue, 17 Dec 2013 16:11:30 +0100 Heiko StÃbner <heiko@xxxxxxxxx> wrote:
>
> The contents of clk-provide.h, struct clk_hw etc, are only available
> if CONFIG_COMMON_CLK is selected. Therefore IS_ENABLED(COMMON_CLK) is
> not sufficient and real preprocessor conditions are necessary to
> keep the code in question from being compiled on non-COMMON_CLK systems.
>
> Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx>

I will add this to the akpm-current merge today (unless Andrew beats me to it).

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature