From patchwork Thu Sep 7 13:41:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 137677 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ab0a:0:b0:3f2:4152:657d with SMTP id m10csp72374vqo; Thu, 7 Sep 2023 11:18:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGQea33zUyZ/2SVxO06wIe8rmONAUfHgNjPbS0/+VYGUjKCkml24YvXqI0RCZuTafEwFawv X-Received: by 2002:a17:906:1baa:b0:9a1:abf8:76ad with SMTP id r10-20020a1709061baa00b009a1abf876admr119747ejg.34.1694110739467; Thu, 07 Sep 2023 11:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694110739; cv=none; d=google.com; s=arc-20160816; b=HrDf40eBveAcCfVGswH5R9k+oADf7Q3rB7xt6zM/NZKLaaBxRlefiZ6yU+k59O7Tr9 xUKR92aXREsRNPRSK28IIqg15xFk3WcLImg2mjvXiDwBiM8YHlhrar/adyDaW95Axlic yc3olm6GXM7btdUXcvlMu2g26yFvHOdlzmzAY+bjBJDBcopj9WzNPqv6bTRTFCi7R63w fTepm1evRa0Ge/aZX7rjKUMDkpR/aziWE7+bRvpVaUh66o5ZJwMH1P+bKlATwdyBXzBk mRCqSni4+d1AKxzF8OTRnB3//9SvWnhV9XxlxsEQBYdADU0VHOuOok5KXA/plWaF4FBH Z+qw== 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=e63jnB+PaN7sVxVf1UDYnNpMSwcikGlSe0jySCm44cU=; fh=fKMC3BTGjlLXl5EvEhzqt3WHCynqYJKK7wAqLAOkWUw=; b=XjSXdkc43/thA9LgcbYyHxQgFfJxX37QgHWf2k1Z2j0WB++Q6OuJUeYYpt//81IcD0 u0cb233oWHsTgNZjktin7/ryn0KKF594ugRDzBHtXc/zN5sZxKt8V6cxrvVK3+q7pTr4 TllrdSG+VoYeLdcdrcgJWm8gU0a+tQDeGVqIgnKdTZnjiPT9T5O7DX9oX16KL9MV8Efj WgnjR6NFJ6zcArf/ipQ1/AevKnJBQHQLWVGiXfZq919682JroS7b71yG3FcfapmIFifJ IJF+31zWSouvdEeCND6oOb/t4Ff5atYGCiSFTrRhwS4WEn8TcHTtRMJM7o9BfWe2xRvJ jShw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r5-20020a170906a20500b0099bc56aa1c8si10703112ejy.253.2023.09.07.11.18.31; Thu, 07 Sep 2023 11:18:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240964AbjIGQVB (ORCPT + 99 others); Thu, 7 Sep 2023 12:21:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235345AbjIGQUb (ORCPT ); Thu, 7 Sep 2023 12:20:31 -0400 Received: from cantor.telenet-ops.be (cantor.telenet-ops.be [IPv6:2a02:1800:120:4::f00:10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC06D270C for ; Thu, 7 Sep 2023 09:16:47 -0700 (PDT) Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by cantor.telenet-ops.be (Postfix) with ESMTPS id 4RhL5L5zphz4x6gM for ; Thu, 7 Sep 2023 15:42:14 +0200 (CEST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:c214:2eac:128d:f67e]) by albert.telenet-ops.be with bizsmtp id j1hy2A0052mGBSJ061hyaF; Thu, 07 Sep 2023 15:41:59 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qeFGQ-002m9V-NB; Thu, 07 Sep 2023 15:41:58 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qeFGf-00CMhF-VW; Thu, 07 Sep 2023 15:41:57 +0200 From: Geert Uytterhoeven To: linux-m68k@lists.linux-m68k.org Cc: Arnd Bergmann , Finn Thain , Michael Schmitz , Philip Blundell , Greg Ungerer , Joshua Thompson , Sam Creasey , Laurent Vivier , linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 28/52] m68k: hp300: Include "time.h" for hp300_sched_init() Date: Thu, 7 Sep 2023 15:41:29 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776403862699526172 X-GMAIL-MSGID: 1776403862699526172 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 --- 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 #include +#include "time.h" + static u64 hp300_read_clk(struct clocksource *cs); static struct clocksource hp300_clk = {