From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756397AbbI2RHD (ORCPT ); Tue, 29 Sep 2015 13:07:03 -0400 Received: from mail.skyhub.de ([78.46.96.112]:33535 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754227AbbI2RGy (ORCPT ); Tue, 29 Sep 2015 13:06:54 -0400 Date: Tue, 29 Sep 2015 19:06:51 +0200 From: Borislav Petkov To: Ksenija Stanojevic Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86: include: asm: Fix build warning Message-ID: <20150929170651.GA3551@pd.tnic> References: <1443543946-8624-1-git-send-email-ksenija.stanojevic@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1443543946-8624-1-git-send-email-ksenija.stanojevic@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.