[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <57C3DB1E.1080008@linaro.org>
Date: Mon, 29 Aug 2016 08:50:06 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: tglx@...utronix.de
Cc: alexandre.belloni@...e-electrons.com, realbright@...ns.com,
motobud@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clocksource/drivers/atmel-pit: Fix compilation error
On 08/29/2016 08:44 AM, Daniel Lezcano wrote:
> The previous fix introduced a check against the ret variable which
> is not defined, hence producing a compilation error:
>
> linux/drivers/clocksource/timer-atmel-pit.c: In function ‘at91sam926x_pit_dt_init’:
> linux/drivers/clocksource/timer-atmel-pit.c:264:2: error: ‘ret’ undeclared (first use in this function)
> ret = clk_prepare_enable(data->mck);
> ^
> linux/drivers/clocksource/timer-atmel-pit.c:264:2: note: each undeclared identifier is reported only once for each function it appears in
>
> Add the missing the variable 'ret'.
>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
> ---
Thomas,
do you mind to directly apply this patch ?
Thanks
-- Daniel
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Powered by blists - more mailing lists