Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2684557pxj; Mon, 31 May 2021 08:12:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJDFKxhrmdPGGzC8pNwPTi67x9/WUNuUeKTxb95pWjOim6HaIOpp4rvteCjcbJRAEx5HN0 X-Received: by 2002:a17:906:2456:: with SMTP id a22mr2560380ejb.496.1622473947032; Mon, 31 May 2021 08:12:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622473947; cv=none; d=google.com; s=arc-20160816; b=XF43fGaOwY5tQLJNWDhcosuGxrU8x7slGFptM/AwO6SU5kWTxlFEgviNEKXFoxEj1c 9RtIxfrY3r5PVqq2zNmX0Xkul6k9wWgj2Tnrdc7JJ/oQblqiNyZ2YeVCm4LY0ZFyRQCy SY+qQ9Wr3kVmjPHBeWzFspIpkN2JqYOm6cm3vFSglHQR1hLd+3ArKzjT/wfJjioEr/jE jD0AHzjgXvNbGhcD+8P7mlb8jh/h7y8dVxde9BEdu9cr0mGvLFtIefQ35gScgFrUwuCg 8BVFKUCGmC51qAzveY6OVJcBSXEArfQrzQmVGmuxLdydjyuPMwjJs6SgrGxU6kKTPpdT 3zeQ== 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=/8h6Xbg2DEc1dQBbekGvAB7vkffHdS5nkoiPnUBLR4Q=; b=gq42eUdrUvfHhS3WuFNy/AARlpjE+NHPGPUv5fuo8RZurU30LoCqR/JO6AZR8fR0b0 tmbtXa6JpA9co4EuF7BlxIiAIItFlvlCgK09MuTqEX0AUEQdUFeue3x7BVMHfJw/ES1G dxo4R8WEKmnsdD8wD5vxnSF0wcqjtJ4OLO3Nm2xp6AoyV3FE4PtgT3psEWzozvcine3V C5BCa94Pv0w5DXkzvAo1TUL6fxjJXruqk+VRDS6wk0eqzYxP2L4JnbVZootONdQallX0 SeL6RNQ9FYdrwh+xV+rt1x7q2mwKOIQ8n6omsohWEiwNlirpvVzGt03UTGyQw5jYQDSG 8m0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Z8EzPOTe; 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 j16si16173722edj.357.2021.05.31.08.12.03; Mon, 31 May 2021 08:12:27 -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=Z8EzPOTe; 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 S234399AbhEaPJ5 (ORCPT + 99 others); Mon, 31 May 2021 11:09:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:40254 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233507AbhEaOJg (ORCPT ); Mon, 31 May 2021 10:09:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 669E461463; Mon, 31 May 2021 13:40:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622468427; bh=nk4yxqwhuy0fshY82HCpICQe/4osT6W/KMcAUXyxtyU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z8EzPOTeCCEV2TtVMqon5yr80IrQ5Wedrud4iR+estoRFSNkAMmBaMK3IRUQVGrxs HJSs79ULTafR2d7HMo18Fyr1Ld+knoZ1kNOjnXFxQgRI6uFeKZ9DkNQdUke+5pMUUi 4TQxFqKRQyReLILH4rotYKP5jrvYD+okXWLbDhDw= 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.10 239/252] MIPS: alchemy: xxs1500: add gpio-au1000.h header file Date: Mon, 31 May 2021 15:15:04 +0200 Message-Id: <20210531130706.125564066@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130657.971257589@linuxfoundation.org> References: <20210531130657.971257589@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 b184baa4e56a..f175bce2987f 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