Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4380714pxj; Tue, 25 May 2021 06:48:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyLkyBRV0jxVmdDEtKPgnLYR96e+XNnOvojBjz4BxAOJSv+wtpR/yscT4P1PwaRuFc+Qxt X-Received: by 2002:a17:906:3016:: with SMTP id 22mr28419211ejz.28.1621950511449; Tue, 25 May 2021 06:48:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621950511; cv=none; d=google.com; s=arc-20160816; b=zEIizJAfGQQmELF7Z+gVd+YVqGxEYV7xpTI/tmi/a8dE9Woz7s4lVb3tUHe2q36f7l 6RRu3uD+8rb42Qu0YA53gWzqiv+Rl2dxlfddkoJg3SV/CKQu8rGemh3rKDTftviyZGSb BIAWigC37weaDpjq0rcxqyD/5pXHrLDaE4StQ5k5TH8mm2NFGcJ4mOb8FSXi+UQ3kpy7 IslaXty+/mN82BZlDsdyXGASQLkF8Q2EBJBMSQ03Y9QX0veUUq8H9PoTGkCF/pcwH092 bPOmgh/dppJzOkVt8Cn2KD9YVFAkN9B/RwQWwdVdmTkx7VVViQNwxhzAtFnXI6oWms18 O8tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=LHfBG1xVXe/L9DPWH9jAPda2XjJCaF9B1Fxr1iXM1Tg=; b=jRuqnrnLdpVRFlccQj+IuUhCPCyMza71306oEJiWSzuq3uoW/5aIODxC4CRoe9AeDF AlJp3l66EgO92Knek/aBKxScFh1As7WCnUSBDb6v6gB/0+8Ot3Xv3LF19UyCtgVj6iR8 TbFC1AUAyqfnNCNMnNta45ojHUvAe5GoxbCygfwR1Oi5ITHR0bKeb4X+C7Ky7Pkwyrwo VMRadSvzvN+gBeD67k4bRqQs1MoTyKtsEHKfyruYHUJXuCVG4Jo/oR4e9QvtzWNFjZ7Y T/hyjDZoYwNay0LP4udb0cqDPC39qfWu7aF0Cd0fKcCr1f3EVpBkA4ByBxvrnLkmKOuZ NVVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g1si15260403edu.36.2021.05.25.06.48.04; Tue, 25 May 2021 06:48:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233378AbhEYNsP (ORCPT + 99 others); Tue, 25 May 2021 09:48:15 -0400 Received: from elvis.franken.de ([193.175.24.41]:48740 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233184AbhEYNsO (ORCPT ); Tue, 25 May 2021 09:48:14 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1llXO3-00079x-01; Tue, 25 May 2021 15:46:23 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 84971C1109; Tue, 25 May 2021 15:39:25 +0200 (CEST) Date: Tue, 25 May 2021 15:39:25 +0200 From: Thomas Bogendoerfer To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Manuel Lauss , Ralf Baechle Subject: Re: [PATCH] MIPS: alchemy: xxs1500: add gpio-au1000.h header file Message-ID: <20210525133925.GB11166@alpha.franken.de> References: <20210517000108.26015-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210517000108.26015-1-rdunlap@infradead.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 16, 2021 at 05:01:08PM -0700, Randy Dunlap wrote: > board-xxs1500.c references 2 functions without declaring them, so add > the header file to placate the build. > > ../arch/mips/alchemy/board-xxs1500.c: In function 'board_setup': > ../arch/mips/alchemy/board-xxs1500.c:56:2: error: implicit declaration of function 'alchemy_gpio1_input_enable' [-Werror=implicit-function-declaration] > 56 | alchemy_gpio1_input_enable(); > ../arch/mips/alchemy/board-xxs1500.c:57:2: error: implicit declaration of function 'alchemy_gpio2_enable'; did you mean 'alchemy_uart_enable'? [-Werror=implicit-function-declaration] > 57 | alchemy_gpio2_enable(); > > Fixes: 8e026910fcd4 ("MIPS: Alchemy: merge GPR/MTX-1/XXS1500 board code into single files") > Signed-off-by: Randy Dunlap > Cc: Thomas Bogendoerfer > Cc: linux-mips@vger.kernel.org > Cc: Manuel Lauss > Cc: Ralf Baechle > --- > arch/mips/alchemy/board-xxs1500.c | 1 + > 1 file changed, 1 insertion(+) applied to mips-fixes. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]