Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2714539pxj; Mon, 31 May 2021 08:56:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIvrq/E0YtlUzYTrjOoP4jN6pA77Fp2xj7wwTYIblA1/x0jH8Hq782TF2nQeoivhz6tLPm X-Received: by 2002:aa7:dc51:: with SMTP id g17mr18155634edu.43.1622476580711; Mon, 31 May 2021 08:56:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622476580; cv=none; d=google.com; s=arc-20160816; b=ClQONnEh3wgcbOZDdnqhbr81FMpXt+yeqILHZWtKCQikBXU6ObFZpJeH5Txbrww90h 7mZigB48R9MKl9KcVjpMcMyvgwac652HIyZEMsihMrewvkFdnRohwndoYoctCM6LN6++ MVpmgN0o5D+Ah2m4x1ybQx3eXMU8+C60mco9UHhaEXi88rTNC+LKEf0f7/PKl5LjkOKM ATNz9iyB3J9rpVL3eB+/OVFzetq2M+S2/Tqu3776pJPnqiDtpASgsO+NExjtxz3nlGKc h5wWul1xpL4h0B+bzIiivaYlfBmH5pKriUwAmy8yzNjEo4fjcEdI10OhRj2c8/8NTO3+ bv5A== 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=yy4c2/ULkzSR+VeJnUoFPfcykR2/sST7QNY75G5BUok=; b=oNUq9t6DJQUFfI8sdiR9mrCed/6aSvahAxow3JtvFiT4PDD1mrMCRSLV+QsrGXs38C Iz7tMJcxzzUhUXaFbveUMcNzIJCCsy+AyCQStTYSkOakpLcHvJhQxyk/qOhcm81O4U2F O9aBHC8a/MIGL21JuB8PTgD6SQ4RuIGvgf0mOnIMQ+tMdyyVgoBy3McOz0sERdR18sMX GWp5TRwQfShB/FN6rZtNjQiesP2ZKgpHlUSXimRGfiVEJRgQ87L5CmExBFT1FyykdlVC 2isHihz3cYgSn/fWLKPCwOhde3glm3LwEH61i7v2zAKaaJRYpZxmC/CDgd0quQknJDoT MhOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G2zLU6GT; 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 z16si15024637edm.391.2021.05.31.08.55.58; Mon, 31 May 2021 08:56:20 -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=G2zLU6GT; 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 S233210AbhEaP4p (ORCPT + 99 others); Mon, 31 May 2021 11:56:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:55734 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233252AbhEaObF (ORCPT ); Mon, 31 May 2021 10:31:05 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 15AE961C30; Mon, 31 May 2021 13:48:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622468935; bh=RpnSHOZbPR7RayPJWJNhGEtED4nLexQcZ2v3i/i/Qvg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G2zLU6GTfyLLMPuqRpH8Waado2VE8/QjJOF0jrjB7gQ+cULqbd+ZjKoBdEuKv3dUN RYnuyDzVd9rLzdMMFGu5q1NBYU6jIqOKVwdxJEzg6UhUXdWP7YtG+2MZ96nK/94A7H Hj7RoHxPYYkGA0uX/wPZ9knb/yiHNxAeRdNP2XqM= 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 5.4 168/177] MIPS: alchemy: xxs1500: add gpio-au1000.h header file Date: Mon, 31 May 2021 15:15:25 +0200 Message-Id: <20210531130653.725375610@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130647.887605866@linuxfoundation.org> References: <20210531130647.887605866@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 c67dfe1f4997..ec35aedc7727 100644 --- a/arch/mips/alchemy/board-xxs1500.c +++ b/arch/mips/alchemy/board-xxs1500.c @@ -18,6 +18,7 @@ #include #include #include +#include #include const char *get_system_type(void) -- 2.30.2