Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp2049711lqg; Mon, 4 Mar 2024 11:11:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV27eX4ix0/TBz68fyk183oTWHxyiWww2pdStStUjqHZALig6EZ+WKqNDjEh4ibSlDN5gieW/s2SfDR2GCgyJGU44y+Utn/lYBElyEBlg== X-Google-Smtp-Source: AGHT+IE7+9Om6dnf0FLiOKUXlWgeZr94lA0XMS/nXU40ABjRmUPn5egTQtMS8ulZtIwax5OnfgW1 X-Received: by 2002:a17:90a:c404:b0:29b:2779:2a69 with SMTP id i4-20020a17090ac40400b0029b27792a69mr7494609pjt.36.1709579482708; Mon, 04 Mar 2024 11:11:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709579482; cv=pass; d=google.com; s=arc-20160816; b=XXkktX0965hnr8aVbq04hfAVtBv+Ndb4WaPJheMdKK6lI1LBJn/4AhPs9XnzRBLUkw laiP2tVPbj5c+va5oraOCsf6J51On1Goyh9Vhrck8bMNgS9tD2O7vRlRjbXKHfc3eQ0v TE+y+EZbr5hsWedtCQY7QF4Rw6jmAUhNNgpFBma910JVAAG4Pcc/EqcqZYyz7zBzOFIs Fh1ib4LZBjVrmKa4oOO68G/TKPimvFdE+gtUddqkfjaqkDcthT9AIzOrdAgoB8aVKBhi XTbRbjSiNH6htIAktZGWrnot806qVjPRN9pCsdjUskvG79P2kjdU9Q4l8jZLENZClt4d jhkw== 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; bh=8A6iS/BWAcmN5TZFxlxKmCZ5IDcomkVaPyRANmBEsPo=; fh=nwSSAsHBwBzEaZ/ddgSn81N/6CRBa0PeLv8CxYxDNDw=; b=fjf07KEDoLnLpCN+hDVGfh9xn6pXgEEY2b+mt3zhFnlUnu6hKj2q6SR97A0TNcWXwr j7hOIuLJHiJjRJEpbER0G2Hn6V4uw0bHtwxeh/t7mF7yRlB8kfrX1sHnd0bMuFtNqXdG RX8iChHMdcCjjZO7YzljMsnkbIsoSZmd+3UReyty/qx/z3GCFp/hkGcY5CD9RR6pmfKW s9LKsw9L/Mt4Tjl8p6pCrn3uXlsCsj+5IsyhKBsVyhlKC6A3qxchdMGtbl1yrU0bArdL u7Acxn8kwi/55BeNfJCSQ2X5CfPjorIUbZ6hXIxpz3UmdXYg5AIEMTMhz3pBUhCNKXan ckRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-91155-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91155-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e22-20020a17090a9a9600b0029abda93414si10741056pjp.38.2024.03.04.11.11.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 11:11:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-91155-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-91155-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91155-linux.lists.archive=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2AE04280F84 for ; Mon, 4 Mar 2024 19:11:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B700F79DD0; Mon, 4 Mar 2024 19:10:58 +0000 (UTC) Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [195.130.137.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A37878B7D for ; Mon, 4 Mar 2024 19:10:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.89 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709579458; cv=none; b=XakjLzZ6eJEMdTKq1HKiaMSI2Tr6+1wQzOB8vq4T1KsSZeVp9OiwkYZu0+MXnbGJGf8uia6YNXpXI+D/XB08zPGF0bmU0aO5INxavrRBf3ARtkDdH24FfLgkikvRD+VHZ2mXRWBe5xLtn1cO91HDRsVT0Nyz8COAz766JckJdt0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709579458; c=relaxed/simple; bh=YBY7KZbj02wlfGdHmoSJj6VE56Cov9ptssg9IM+FkNw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=pCx/Urit4buXdFKfPR8bSEBvFSYV9yJWN+LKkzH8EVr0i2C+j1tIn+JQTGZe0PRY62VEr/kMaXf15CKWQDiinM7Jl5JGUlw4K3x72fMqfdI7VSov4sj4d0gMd/zK15yJEk1bwtLV7dlVCahFz5wNX3YsIdIvsQyS1BbUwGMnjTI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:2716:1247:52e8:4f90]) by laurent.telenet-ops.be with bizsmtp id ujAr2B00J2qflky01jArdh; Mon, 04 Mar 2024 20:10:52 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rhDhv-002KK3-Mr; Mon, 04 Mar 2024 20:10:51 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rhDi7-00BCcp-Ck; Mon, 04 Mar 2024 20:10:51 +0100 From: Geert Uytterhoeven To: Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , Arnd Bergmann Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 4/7] sh: mach-sh03: Make sh03_rtc_settimeofday() static Date: Mon, 4 Mar 2024 20:10:46 +0100 Message-Id: <95417f2a3eb1561af7c2ee064efbc3ef3f03dac3.1709579038.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit arch/sh/boards/mach-sh03/rtc.c:123:5: warning: no previous prototype for ‘sh03_rtc_settimeofday’ [-Wmissing-prototypes] There are no users outside this file, so make it static. Signed-off-by: Geert Uytterhoeven --- arch/sh/boards/mach-sh03/rtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sh/boards/mach-sh03/rtc.c b/arch/sh/boards/mach-sh03/rtc.c index 7fb474844a2d1d65..bc6cf995128c6547 100644 --- a/arch/sh/boards/mach-sh03/rtc.c +++ b/arch/sh/boards/mach-sh03/rtc.c @@ -120,7 +120,7 @@ static int set_rtc_mmss(struct rtc_time *tm) return retval; } -int sh03_rtc_settimeofday(struct device *dev, struct rtc_time *tm) +static int sh03_rtc_settimeofday(struct device *dev, struct rtc_time *tm) { return set_rtc_mmss(tm); } -- 2.34.1