Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2628497pxj; Mon, 31 May 2021 06:56:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwL/SSSd1pjTA8zIEUML63z72JITFTAK5VufEJvZ6xW1tqn8zSs0Nbo2aCeGXjPpVXHJHAi X-Received: by 2002:a92:d3ca:: with SMTP id c10mr7069592ilh.82.1622469405460; Mon, 31 May 2021 06:56:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622469405; cv=none; d=google.com; s=arc-20160816; b=oZUF9tURCtHyI/X5LQRGO247D7hzA+t2xXECzGh1RnpCpJEGLuJVjG5Aw2QQvz+vQm YEI2eSjzvdAHUMz4/OgHZl4yUSqp24dT7GchnYxgnY8Y38NwQrSiy/aAKjqNHguFkz53 tJ1WaVTJvF1X5oUAp0gaRKcz6l31Fv2fHAvsj69zPJ80v0YLjHOJf62r4/1TRkdNiVZ7 3feTfKCBBMH4lincNSiFKIaq9CIjEOTGBxeBRqNdcFSf310QpBKf0h5WbPkPll7cTK5l 65VWD8i/h8NaCg5WjvCqjvwxi6j9Dtm8IcWcl84NWau78B413EOYdL25lEM084jUlwrD OAUA== 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=0lgkb+Tjjzhnp1usFroQmHcTFeRoS06/6kkpifMUav8=; b=PGMXs+4Jkc77/YzUlx2aA0gR0SSgjeZzxUoGlN9TvFD8MCAz/8XDmdu6VihgsQchfM wVXF+SCRIpbi85WV4fZMUS63+cmUcpJ8y5kY7GaxStHh59lBj/g9FdpuHhD5YF22+mmc HzdVIa5vzc1DdHY3IPHy7LBsUqM4Gi54AGgZPs8MwnTf6eWYCwsMHfTDXsNcu/N7LLAD QOS/Zo9GXJtXgSZTnECvsCdQJfkiYDXgAYmpoWYC06ZM+I+in1YnDpf/s0bRaA7+zCyO jYItv47SfVGDFdG/H+pR7o/Fv3CciNSFFlQPWVd50KQ4erG7dZfm//VKEeTk6EJDw22a vHcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QuttTQYd; 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 r17si12487146ilq.4.2021.05.31.06.56.32; Mon, 31 May 2021 06:56:45 -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=QuttTQYd; 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 S231918AbhEaN5n (ORCPT + 99 others); Mon, 31 May 2021 09:57:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:44426 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232583AbhEaNhy (ORCPT ); Mon, 31 May 2021 09:37:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 13C4161450; Mon, 31 May 2021 13:26:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622467584; bh=AGDQ7EhDEKWLNEGK3KULBHI5AROZPAykwWkmLbXLINI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QuttTQYd8luIeR0wvgM9NfKKCUJ8DkICIE8TTU/JvBVupJcedMxarWggkd7fS/K9G 5b/hPyMoTPKT6u7JSaLkGbDlASXI09RtBVwGsuPz8m/AEmpgN1rsNGjT3sB9pNTwig tFId7EMBvDnH4wUB0PdSGki7wYMOWBU3P0s8/JbQ= 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.19 111/116] MIPS: alchemy: xxs1500: add gpio-au1000.h header file Date: Mon, 31 May 2021 15:14:47 +0200 Message-Id: <20210531130643.878727518@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130640.131924542@linuxfoundation.org> References: <20210531130640.131924542@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 5f05b8714385..b968cff5baa7 100644 --- a/arch/mips/alchemy/board-xxs1500.c +++ b/arch/mips/alchemy/board-xxs1500.c @@ -31,6 +31,7 @@ #include #include #include +#include #include const char *get_system_type(void) -- 2.30.2