Re: [PATCH -next] MIPS: ath79: Add missing include file

From: Rob Herring
Date: Mon Jul 25 2016 - 09:20:55 EST


On Sat, Jul 23, 2016 at 7:00 PM, Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
> Commit ddd0ce87bfde ("mips: Remove unnecessary of_platform_populate with
> default match table") dropped the include of linux/clk-provider.h from
> arch/mips/ath79/setup.c. This results in the following build error.
>
> arch/mips/ath79/setup.c: In function 'ath79_of_plat_time_init':
> arch/mips/ath79/setup.c:232:2: error:
> implicit declaration of function 'of_clk_init'
>
> Fixes: ddd0ce87bfde ("mips: Remove unnecessary of_platform_populate with default match table")
> Cc: Rob Herring <robh@xxxxxxxxxx>
> Cc: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> ---
> arch/mips/ath79/setup.c | 1 +
> 1 file changed, 1 insertion(+)

Since the error is in my tree, I've applied this. Thanks.

Rob