Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2395432lqp; Sun, 24 Mar 2024 17:36:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXqVVy3/7vwiV68WMv8OTsCne1yCw7T17hl+FIVov9BMAjsB12TFRX8v2P3kjduUy23WMLi+cSvUzhLa0n1PnBCBqIBXiQ2FaiGhIwhDA== X-Google-Smtp-Source: AGHT+IFzfSAKVirRaoJuIcDlvKDiZm9SNhHuNaX3B0Kud1E1PsXknZ4g3piPuy/0zfJor9rPDufx X-Received: by 2002:a19:914f:0:b0:513:e934:8e34 with SMTP id y15-20020a19914f000000b00513e9348e34mr3569487lfj.56.1711327015806; Sun, 24 Mar 2024 17:36:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711327015; cv=pass; d=google.com; s=arc-20160816; b=sMM7QDgSIhQpMAYY0512EYwuLn2hE0pllXuX4Xm3mtjhIMpG5edZkEehb55Dfxbr+U sYmzUDT2RP4W3BKPPvcZV92h19G77YJgU2kNAfqPYPE/tOuiEnEK0gmca92dn81Trm4Z ob1gXaNd+13Q/hDWXZ+c3eEsSRHRO9o5GaEZ3LctQMQwpcBAteBgd55p98/fb/hZ5Ziw iOdZtkq/V6/ln9Njwh0PD7r2CFQPl4SX3IgfUp3hfDw4bwcYkeGN87DtfG6qsCyxtiui C412ieKeKUxFaMnq7lBF6DpCPzK38DCiB+p7kFHV+8agXw2QBTIWNngKyhbwWDsZ8Krp TqtA== 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=qEMD3/g/uJ8PmStBnb5HxdvU2nP8Kp+DiMJ30FNXiH0=; fh=Dh5HJGsLrXJ+6DUfw8WvHvlSJxsqMZcgEbpOFf9E/Dw=; b=cDBHOg/5SLJ/BeYV2qhuRzy8pvmGm8XsOUNztktFr9VbqX7JeoOBQYSgNS0xOSIhnX 3BKXE2vL96EZj879n3725CcMfcneJCfaz6TcdD+6XSk18bJKp7HZybUp3DURv9Oc10Yk C2x+NqXQJbSb5Dp+8lPmX8hVYJbiXMzKk8yhIRRYe4qWIzReIpXLVsoEDkaTGG6aN8vS lsmvJ9hwGmDOQ58z4lnE0a0PrSAfpukr6WozuzLVxvzUxYC9spUkS8ehQkaSpgpse8IT uqMWMXV6OygrW7nxmUqvXA6I5p2yJQl1plh4EHoAFYuWh4UJuZ2ZHa4Op3UtWJ1s0HIp DsNQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XA3TjlVj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113408-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j21-20020a170906051500b00a4696c44ca5si2126565eja.1019.2024.03.24.17.36.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:36:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XA3TjlVj; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113408-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 am.mirrors.kernel.org (Postfix) with ESMTPS id AD3831F21CBD for ; Mon, 25 Mar 2024 00:29:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E86F1A62E1; Sun, 24 Mar 2024 22:43:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XA3TjlVj" 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 AEB8D1A62C1; Sun, 24 Mar 2024 22:43:30 +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=1711320210; cv=none; b=ktT8DW0HT/n6KB41GbKlJFg1S0aotnTmrbadgC2T8+KWVB0rovZ8OtvgoQWG5SMqtv6X2znhjWIExpnUMSncjbdcgMm2HW7255Hq+IKXsTVlU49/eAzhc3GaVnaH+VeMoxy9OKf30q3M5H/cXXHVvfAlPjoaBZiD6Nksv2nmbr8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320210; c=relaxed/simple; bh=BVxqDOGkjiqVTfeT64Ga21KsBYVD4zSSNx+FiG8WTA4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gekeeCx482M5pHGvvAOsCHIj0c7dQasvZd9efrxU8u9XxvWQ/DcifQDWqKptKRfZP/nYBDHrqJOAPQ4ztF/RRzWY1HjJ83peYgL6sp/xx7AUbO7P3jVmt7W39QYTToyfLSbVc947Sms5G4r0YtmAQMkT7JycqkA5PCfwQy9FIjU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XA3TjlVj; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFBDBC433A6; Sun, 24 Mar 2024 22:43:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320210; bh=BVxqDOGkjiqVTfeT64Ga21KsBYVD4zSSNx+FiG8WTA4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XA3TjlVjuyDfzTbHKqErfe0LVgFw/aHjOnOKHqgEDBr7opj6sTI3+qt9s3RBpVz3g FSCKpkKHUS/CnqMUPTA9ZUyRVz0AHw96s5i6vkRZlKCiMztZ8U4dX46fvMBcOf9YWS QhIkJJeJ7rJXO9LFzzmVLASiAyjUk6bwSD6JZBrvWDGDTo4kVRd2BQhO1/Zk1IhsGq d2uHBUic/gUwBvneS5EDcYndWDeEmEJhAlTSo+NNMk9uZfqKZvV03UEtCiUu7YIkKm CE++jQc0RiEGIijB49UJaDD9ZQVXULPXseuq3PBWxkBUcb8Z24qGfVNJe8WOX/rhL/ 9T+W1jqSnm3Eg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Michael Ellerman , Sasha Levin Subject: [PATCH 6.8 517/715] powerpc/embedded6xx: Fix no previous prototype for avr_uart_send() etc. Date: Sun, 24 Mar 2024 18:31:36 -0400 Message-ID: <20240324223455.1342824-518-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-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 9c10aac40c7b1..e265f026eee2a 100644 --- a/arch/powerpc/platforms/embedded6xx/linkstation.c +++ b/arch/powerpc/platforms/embedded6xx/linkstation.c @@ -99,9 +99,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