[PATCH 2/3] clk: samsung: remove unnecessary CONFIG_OF from clk.c

Tomasz Figa tomasz.figa at gmail.com
Sat Sep 27 06:20:59 PDT 2014


Hi Pankaj,

On 27.09.2014 07:41, Pankaj Dubey wrote:
> Signed-off-by: Pankaj Dubey <pankaj.dubey at samsung.com>

Missing patch description.

> ---
>  drivers/clk/samsung/clk.c |    2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/clk/samsung/clk.c b/drivers/clk/samsung/clk.c
> index deab84d..31bf391 100644
> --- a/drivers/clk/samsung/clk.c
> +++ b/drivers/clk/samsung/clk.c
> @@ -281,7 +281,6 @@ void __init samsung_clk_register_gate(struct samsung_clk_provider *ctx,
>   * obtain the clock speed of all external fixed clock sources from device
>   * tree and register it
>   */
> -#ifdef CONFIG_OF

We still have non-DT platforms which use this code, i.e. s3c24xx and
s3c64xx. Have you checked if this compiles fine on them with CONFIG_OF
disabled?

Best regards,
Tomasz



More information about the linux-arm-kernel mailing list