Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2618513lqp; Mon, 25 Mar 2024 04:45:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUJrH0VyJFwMJt+l/qQnhm2wnfKprChqq6jF1t2VPG/OG/GDp5/I8ORYNL8O9wLhKGQ2+M8UDr7vxPPgJHOvvO8KbAO65XCcLNvjwdGmw== X-Google-Smtp-Source: AGHT+IF8xsRK7qwXtiYHTXXwA2Y+vBiry/PmujUaWdD0JvQlyDzJAXBkr6pS75lDjSBIOwkQ3t4M X-Received: by 2002:ac8:5fcd:0:b0:431:49f0:1525 with SMTP id k13-20020ac85fcd000000b0043149f01525mr6424807qta.54.1711367114538; Mon, 25 Mar 2024 04:45:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711367114; cv=pass; d=google.com; s=arc-20160816; b=gmEZtMlpSDBkSR/xfB2BhkUoLhWENGDLQZYUhRg9geXBa9JUGPeU5F6nVrzumMnrbP KCapgeyRz0LXT7PvnYNOyDT/ZD3x5FS1inYzXY/pIh1eiZ7pL4trNY0L31pRtOi9Fw9X Nx7WlhGdHtIh4QN/bAfE/t3GNwesxM45HFGhOa3mdvopqC4KjoScNp8iiGUIwEZFfpq+ PUplZ+lIN4FYFIWPhjUN9UZ7OHgi4EL7auQtq2I0Mae1cPMbmkEyudQyltpEiOLruj7o KaMsgL+/CiPTs+tfI4ZIvr2Tk1j/CKNpOzUp6wTulT1Y+hMSY8g3eEPBWCP3w9RYdPo6 N9oQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Q3J7+ztdFUjq5u5lF4dfn+CVYsC4piz0+vA/siR94Go=; fh=Dh5HJGsLrXJ+6DUfw8WvHvlSJxsqMZcgEbpOFf9E/Dw=; b=AmMXKRxuM30KuJkO5v7p/UrXSlxQBUbCYBZgd5Z1jU3/e/XdTEg1fsZFTfbMC3pLqR bsCWoCvRuigrMrH3Iw+pLfHyRAAZtuqe2mhGk4qlANJBUXGUkKxhzpKInHGlvPe1s73J RM9vTPI93FsycwsdTwLhJfTmet21FbWSnlvIarbb5ZdbpgdFmRemawyh2lvbFQ3ZzLA9 Ko/4w/BC4VIXRrqzV4FeJeLer2KOflyh65yDT1PtRPhr4aV2g0abb42hQlUOWJ2z6br4 Fri3EaRGo+rCW+bIH2RjvDtyxziS3Ew0jvutZoXujzmJ9OQXgzNbI9mTtQBvOBSc8lHL +2hw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=doycezXX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116196-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116196-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ge5-20020a05622a5c8500b004309f7128edsi5386842qtb.439.2024.03.25.04.45.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 04:45:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116196-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=doycezXX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116196-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116196-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 458621C3529E for ; Mon, 25 Mar 2024 11:45:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7008D3BB1DA; Mon, 25 Mar 2024 03:33:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="doycezXX" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7A00B17C6D1; Sun, 24 Mar 2024 23:43:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711323803; cv=none; b=trLZ1XVwOavlWm6IMU31X7wi6f+yDXQpiupBUOWgkAnAv97H4t55AdWmzpXkxTQT1exHAKeNS3Jpr6/uBZDU44x3sL7SeWazlMZh0ZzbAfabIHWxHiIXvjA1SY+MNHh3pCU1uDnWZb8b87JKEdd9FbJCjPIvMWjA7BTR+aBwdPU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711323803; c=relaxed/simple; bh=IgTe3n66YGsLtCAM6MmQvEeSa0QRWAfowfES3Es53+M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fXV/VfLjxjYln0q3+scZcw+NJNs3YKhsNjsHM+J3RUepudkOzg++z3Dls04wChuwE2N4ZkLFri5zR39qSeoWtmCmjWRQHiSciQbt3GzuT185FotrS0I33m2sPz54QqRfE1AWTyScyVmXfswZfqvkFy0XQX08l6i4GV6DDE8QWQI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=doycezXX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDAC4C433F1; Sun, 24 Mar 2024 23:43:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711323802; bh=IgTe3n66YGsLtCAM6MmQvEeSa0QRWAfowfES3Es53+M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=doycezXXlvmx/NoUt4de8kgO2N5bO/j0LAXjJWP3ZN+QX2ZswWai5PgJjqSk6WymV M9iMSpUO5jjbkNtE8xdAgtBXnn/O+zgqgw2cJbgE/zm1PjH/xdSPepRCANvPT1BBQL yVK8GAp9R2JlfCIhJbnffoMN8pT089w2cwTlel10Tqlj5lP3qrSzywQNhbvhTgJyq8 3gxP4/Waec4p/FM+Gn6aokoPJPf3MBKMGdiWMC49tWEGtfxdq883+alom91KD1O8QK JsM7GxqQL/FelSutURlJJH/+S9pzgsipzzkP8S1LNZiRy+y22HN58xHMPi2U+aT40l Vm9O8O3ElSW2w== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Michael Ellerman , Sasha Levin Subject: [PATCH 5.10 180/238] powerpc/embedded6xx: Fix no previous prototype for avr_uart_send() etc. Date: Sun, 24 Mar 2024 19:39:28 -0400 Message-ID: <20240324234027.1354210-181-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324234027.1354210-1-sashal@kernel.org> References: <20240324234027.1354210-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Michael Ellerman [ Upstream commit 20933531be0577cdd782216858c26150dbc7936f ] Move the prototypes into mpc10x.h which is included by all the relevant C files, fixes: arch/powerpc/platforms/embedded6xx/ls_uart.c:59:6: error: no previous prototype for 'avr_uart_configure' arch/powerpc/platforms/embedded6xx/ls_uart.c:82:6: error: no previous prototype for 'avr_uart_send' Signed-off-by: Michael Ellerman Link: https://msgid.link/20240305123410.3306253-1-mpe@ellerman.id.au Signed-off-by: Sasha Levin --- arch/powerpc/platforms/embedded6xx/linkstation.c | 3 --- arch/powerpc/platforms/embedded6xx/mpc10x.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/embedded6xx/linkstation.c b/arch/powerpc/platforms/embedded6xx/linkstation.c index f514d5d28cd4f..3f3821eb4c36b 100644 --- a/arch/powerpc/platforms/embedded6xx/linkstation.c +++ b/arch/powerpc/platforms/embedded6xx/linkstation.c @@ -97,9 +97,6 @@ static void __init linkstation_init_IRQ(void) mpic_init(mpic); } -extern void avr_uart_configure(void); -extern void avr_uart_send(const char); - static void __noreturn linkstation_restart(char *cmd) { local_irq_disable(); diff --git a/arch/powerpc/platforms/embedded6xx/mpc10x.h b/arch/powerpc/platforms/embedded6xx/mpc10x.h index 5ad12023e5628..ebc258fa4858d 100644 --- a/arch/powerpc/platforms/embedded6xx/mpc10x.h +++ b/arch/powerpc/platforms/embedded6xx/mpc10x.h @@ -156,4 +156,7 @@ int mpc10x_disable_store_gathering(struct pci_controller *hose); /* For MPC107 boards that use the built-in openpic */ void mpc10x_set_openpic(void); +void avr_uart_configure(void); +void avr_uart_send(const char c); + #endif /* __PPC_KERNEL_MPC10X_H */ -- 2.43.0