Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2643270pxj; Mon, 31 May 2021 07:14:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMBFmQt62vQADsbSLzPpo4UqY7CI16Tz8tdrmOrjg+0be0jZz2bHBpv4axsS63ySDzqfj1 X-Received: by 2002:a05:6638:248d:: with SMTP id x13mr5961836jat.2.1622470469470; Mon, 31 May 2021 07:14:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622470469; cv=none; d=google.com; s=arc-20160816; b=JIH1COem/s/aSFdrUNQGWum88ttHGtF7/k5oZhyeOpTn+fL/338ADVJRgGFyu9Za0I V46XHFn8/bY36I9IK/5vEbEe7uQkLHqxsGkQ/1XgduF2FmyuneCRJR1fxBnVUwFJbYaY 07r/KB+B16goGra3UDozNdfGMX/wLnzs1frgQnlszrmYGnEGcXvCnqZFYmeVFgTYN5fh +9bNcDA1M5cs5BVOWSC+FJO968o8QXXKE89AKAKrT17PxzUdKeXUCNF3Pv11u1PWndJB 7ZOREjQofyGKnaki2BxgTGr67ohlB/cBSsxQ35sx1VEba1qZvefMVTu6OIxMTSGqZ/XL lIjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xd3b0VLlW2PL4NQz8owoVfZlBtEdCrNz2pw2NTYG42Q=; b=kDeR3WrtI9CaH5FZEi3bjVwu9Ee8Iio6Xrm4dmVFE2tLcytKVb2aMZsAQt39utGDLM 5M3qcJlq2Ksb7r8g+ctc7AnIooKeAMXdfIu9Hoc15laYnt64ngFxLv7R2qV8wPl6OTCb M7HQhPlvYmjHA5OntyfBUJ/O+9IcDAECRM4hrbsBVJTho71uy1vArvJsVX76lxtpnlTL ar9X6db8jqcrdzZ4oIQsDrXVLliVUO27Ufj2N8Bbhab4vpq9MQnj2zKDmlN8uxv4Yq0y VvRQ8j7wVbZxxMukFJUgjhu+5FDVy5L7wt0ca2MF+NfavHoojn3dG1JjdTA1o/bPoE1b BPGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SNC4JK2z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h5si12323736iol.44.2021.05.31.07.14.16; Mon, 31 May 2021 07:14:29 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SNC4JK2z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232256AbhEaONH (ORCPT + 99 others); Mon, 31 May 2021 10:13:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:48556 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231686AbhEaNqD (ORCPT ); Mon, 31 May 2021 09:46:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6E55B615FF; Mon, 31 May 2021 13:30:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622467806; bh=VNoJb72BASLscbJ76MB5QsneL7jW1r5so6opZSHcc3Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SNC4JK2zmQYR3wZTsMd/d9YwToNOw9BtIy834RB9EJB4L9lw6yUo4fzYLJYYj1f1L Jl0xBzK0nJqZxXqaIAEOEiiaHI8XqWaM53xH47QhMnk2MiGZ4AUVxmScw+klqik7o0 gU3if//l+/RihOtKPyUt1d62pNAeIbRhD+AbrSsw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Thomas Bogendoerfer , linux-mips@vger.kernel.org, Manuel Lauss , Ralf Baechle , Manuel Lauss , Sasha Levin Subject: [PATCH 4.14 75/79] MIPS: alchemy: xxs1500: add gpio-au1000.h header file Date: Mon, 31 May 2021 15:15:00 +0200 Message-Id: <20210531130638.392292508@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130636.002722319@linuxfoundation.org> References: <20210531130636.002722319@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ Upstream commit ff4cff962a7eedc73e54b5096693da7f86c61346 ] 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 Acked-by: Manuel Lauss Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/alchemy/board-xxs1500.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/alchemy/board-xxs1500.c b/arch/mips/alchemy/board-xxs1500.c index 0fc53e08a894..c05f7376148a 100644 --- a/arch/mips/alchemy/board-xxs1500.c +++ b/arch/mips/alchemy/board-xxs1500.c @@ -30,6 +30,7 @@ #include #include #include +#include #include const char *get_system_type(void) -- 2.30.2