Re: [PATCH] x86: include: asm: Fix build warning

From: Borislav Petkov
Date: Tue Sep 29 2015 - 13:07:06 EST


On Tue, Sep 29, 2015 at 06:25:46PM +0200, Ksenija Stanojevic wrote:
> Fix build warnings:
>
> error: implicit declaration of function âolpc_board_at_leastâ
> [-Werror=implicit-function-declaration]
>
> error: implicit declaration of function âolpc_boardâ
> [-Werror=implicit-function-declaration]

How exactly do you trigger that?

> in files:
> drivers/power/olpc_battery.c
> drivers/input/mouse/hgpk.c
> drivers/staging/olpc_dcon/olpc_dcon.c
> arch/x86/platform/olpc/olpc.c
> sound/pci/cs5535audio/cs5535audio_olpc.c

AFAICT, those should all depend on CONFIG_OLPC which defines those
functions...

Thanks.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/