Message ID | 630ee35241dc753a30b69adedc2ffa8fc6d551dd.1694613528.git.geert@linux-m68k.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp1123772vqx; Wed, 13 Sep 2023 07:25:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGPzMlY03KLOIy9j502lq9QSRgHIprGuHAo3atq4gsUaXWDluvUbsWWCEZe8JiWfx5S22LT X-Received: by 2002:a05:6a00:2296:b0:68a:6926:78ac with SMTP id f22-20020a056a00229600b0068a692678acmr3054744pfe.22.1694615110915; Wed, 13 Sep 2023 07:25:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694615110; cv=none; d=google.com; s=arc-20160816; b=kRwIqIY+qKRulLPAIPbjfD0mG1oPOW05eVA0uE5okIbJwcAeBIauTZlxqEqJmsNj7P YTT8KGVVK9Brhn7pHZhSiiYeGF0xs8CPXiXs9+Wj6Y5sLetUulUfhh73HUtmG7GNIpNV SFhm5NL3fmfuCzP2PCBMFoYn181l4fRO2LldDBU9l54Z9JhhIY0zB+dR62eJD0+RPlt4 oodqrDR9Byp+xXs+VnE44kf7v+mnFbwBPQz6ademj1/AyLrzBuqWDvf/dJNGJ7h3BnaD Q8jqbirAY0Nnnb1nZQD1rrW57VJ7S8Nw5g8cObvXSYlR6VrQGyxX1cuXWZ94cvU20UP0 rXug== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=OSfWYCR/D9LN8psYFDgRgEoGrxXb1luaosmephR4sYg=; fh=fKMC3BTGjlLXl5EvEhzqt3WHCynqYJKK7wAqLAOkWUw=; b=AV0ykBco6fm7T+Gf/uoEH5hgBmfz42adXOyzN+sgiZUal5w4lvBWNCqpjhiDED5Ciz h1nprUTKT9xOIc9DSf2f6Cp+9pcUzu0wJrl8awghsuHaWYt1cAtHITmPEe0ZRhen/2ye a6C/MVEUXNmk2jQuVU6N+/R/JjR5NemxRT1zcegMcpdbKnvcF4dZ2pKftsMhZcmCKgpZ F15nArqJ0ogmsovPPxBTBxCWYzjUtp1EJ0mKoTY4jyR/WCY1kOB+15v0M44JSQ3x3kem PTnVSyk7SnuW2BcJt6iOxKjZWAq9+RUnSqlXLHzAFSAo+SSh/7/xZM77cf5mh9/ESEzM zNxA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id m16-20020a056a00081000b0068e32814eeesi10563406pfk.317.2023.09.13.07.25.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 07:25:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id EB96F809268D; Wed, 13 Sep 2023 07:10:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241373AbjIMOK0 (ORCPT <rfc822;pwkd43@gmail.com> + 36 others); Wed, 13 Sep 2023 10:10:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241383AbjIMOJX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 13 Sep 2023 10:09:23 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48CB61BF7 for <linux-kernel@vger.kernel.org>; Wed, 13 Sep 2023 07:08:52 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:f674:9611:cd05:f25a]) by albert.telenet-ops.be with bizsmtp id lS8n2A00F3fvA4V06S8n47; Wed, 13 Sep 2023 16:08:48 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1qgQXd-003csi-VU; Wed, 13 Sep 2023 16:08:47 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from <geert@linux-m68k.org>) id 1qgQXv-00FV5c-Ai; Wed, 13 Sep 2023 16:08:47 +0200 From: Geert Uytterhoeven <geert@linux-m68k.org> To: linux-m68k@lists.linux-m68k.org Cc: Arnd Bergmann <arnd@arndb.de>, Finn Thain <fthain@linux-m68k.org>, Michael Schmitz <schmitzmic@gmail.com>, Philip Blundell <philb@gnu.org>, Greg Ungerer <gerg@linux-m68k.org>, Joshua Thompson <funaho@jurai.org>, Sam Creasey <sammy@sammy.net>, Laurent Vivier <laurent@vivier.eu>, linux-kernel@vger.kernel.org, Geert Uytterhoeven <geert@linux-m68k.org> Subject: [PATCH v2 28/52] m68k: hp300: Include "time.h" for hp300_sched_init() Date: Wed, 13 Sep 2023 16:08:18 +0200 Message-Id: <630ee35241dc753a30b69adedc2ffa8fc6d551dd.1694613528.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1694613528.git.geert@linux-m68k.org> References: <cover.1694613528.git.geert@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 13 Sep 2023 07:10:54 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776932734745449372 X-GMAIL-MSGID: 1776932734745449372 |
Series |
m68k: W=1 fixes
|
|
Commit Message
Geert Uytterhoeven
Sept. 13, 2023, 2:08 p.m. UTC
When building with W=1: arch/m68k/hp300/time.c:101:13: warning: no previous prototype for ‘hp300_sched_init’ [-Wmissing-prototypes] 101 | void __init hp300_sched_init(void) | ^~~~~~~~~~~~~~~~ Fix this by including "time.h". Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> --- v2: - Add Acked-by. --- arch/m68k/hp300/time.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/m68k/hp300/time.c b/arch/m68k/hp300/time.c index 1d1b7b3b5dd41583..72621fb9f3e663bd 100644 --- a/arch/m68k/hp300/time.c +++ b/arch/m68k/hp300/time.c @@ -20,6 +20,8 @@ #include <asm/traps.h> #include <asm/blinken.h> +#include "time.h" + static u64 hp300_read_clk(struct clocksource *cs); static struct clocksource hp300_clk = {