From patchwork Thu Sep 7 13:41:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 137659 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ab0a:0:b0:3f2:4152:657d with SMTP id m10csp27755vqo; Thu, 7 Sep 2023 10:02:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE21eImz/S3VdJcJ2r5NbgXMHDKdTQNA78MlOrwLn0SfXX/Gs/tpoGYW/3NX8bMzwZ6unfs X-Received: by 2002:a17:902:ab95:b0:1b8:1bac:3782 with SMTP id f21-20020a170902ab9500b001b81bac3782mr193878plr.6.1694106127040; Thu, 07 Sep 2023 10:02:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694106127; cv=none; d=google.com; s=arc-20160816; b=dIde/s5YX8EIDxOokr1ORj7MBR1YvSdgchVtfkca+9ORD8dT5XuSCU0Xhkdq6zfZOd 2cMUGAUhfeQTGjTFYiRcigm7GwoWQTeUVzRcByWor5dQ1JPCYhJh2SRm93DmE97s3zHi 1ipDKobMSgvzIwCdGok3YD8gyXrF41BXt+l9upR3l7tAcVuo8PXVK+rKxY0aX4lbiFB2 85+EY9EQZKsyV0Gv0GO52bday+EvqeanWuX9PyJnr7v2DF86h0bqqrPvm9r5iV7F8cxt nKE5VZgmxIhm6/Is4lj0R/2/sOvTChovqYqYxbR8ZyGPLKKm/+rgEZJDAimxjdPxvc6/ 0GCA== 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=spu4BJneQVnvQqBCVTuGt7ebRMDV7ZCU4VM2qJj8nco=; fh=fKMC3BTGjlLXl5EvEhzqt3WHCynqYJKK7wAqLAOkWUw=; b=WJXcL/lkWc++ousbbmFmvY61SLbRURCPmRNEEnbMsSEB/x6pmdSdWJRGx3HWQcUMrD ovgz6yvEkxvj14gsjreAFULnHiXlVAb49+GTCQOstaPUsIfmR+bexhz8XqGYrNfdiDZu fwbBdMh09sonbtmx3mFOJpUNC+Ir0Y3nJhSM+p/rFKaWgzYAgxPfqoyuqmVeR7+Z7/uJ 4JrxYNVq/1MAc/lvOO582104uU/LzMEdMFvZKjZLR3DWmQ3gY/KeIRil/B+ypHu9jQda NmdR4/9p1k69f2UQ9X0zqjFnu4Vzw1SlgeA5LIF/F4MpQlFybRhrcQVWkbMarglJZ1JZ yCfQ== 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 kg7-20020a170903060700b001bba53994acsi2660plb.243.2023.09.07.10.01.54; Thu, 07 Sep 2023 10:02:07 -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 S234501AbjIGQNP (ORCPT + 37 others); Thu, 7 Sep 2023 12:13:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237990AbjIGQMA (ORCPT ); Thu, 7 Sep 2023 12:12:00 -0400 Received: from gauss.telenet-ops.be (gauss.telenet-ops.be [IPv6:2a02:1800:120:4::f00:11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51AE1525B for ; Thu, 7 Sep 2023 09:09:02 -0700 (PDT) Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by gauss.telenet-ops.be (Postfix) with ESMTPS id 4RhL535jwCz4x7f8 for ; Thu, 7 Sep 2023 15:41:59 +0200 (CEST) Received: from ramsan.of.borg ([84.195.187.55]) by andre.telenet-ops.be with bizsmtp id j1hy2A00V1C8whw011hyGF; 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-002mA6-Te; Thu, 07 Sep 2023 15:41:58 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qeFGg-00CMhy-5d; Thu, 07 Sep 2023 15:41:58 +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 37/52] m68k: sun3/3x: Include for config_sun3*() Date: Thu, 7 Sep 2023 15:41:38 +0200 Message-Id: <31d7b55e5a05a1d4261b808a3b801f7de3bfda99.1694093327.git.geert@linux-m68k.org> 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: 1776399026337173512 X-GMAIL-MSGID: 1776399026337173512 When building with W=1: arch/m68k/sun3/config.c:123:13: warning: no previous prototype for ‘config_sun3’ [-Wmissing-prototypes] 126 | void __init config_sun3(void) | ^~~~~~~~~~~ arch/m68k/sun3x/config.c:42:13: warning: no previous prototype for ‘config_sun3x’ [-Wmissing-prototypes] 42 | void __init config_sun3x(void) | ^~~~~~~~~~~~ Fix this by including Fixes: 91d7b75a5888c182 ("m68k: Add asm/config.h") Signed-off-by: Geert Uytterhoeven --- arch/m68k/sun3/config.c | 1 + arch/m68k/sun3x/config.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/m68k/sun3/config.c b/arch/m68k/sun3/config.c index 203f428a0344a735..b932250c9e7ffbae 100644 --- a/arch/m68k/sun3/config.c +++ b/arch/m68k/sun3/config.c @@ -32,6 +32,7 @@ #include #include #include +#include char sun3_reserved_pmeg[SUN3_PMEGS_NUM]; diff --git a/arch/m68k/sun3x/config.c b/arch/m68k/sun3x/config.c index 37121a0f12531fef..3a10cda636fc38fb 100644 --- a/arch/m68k/sun3x/config.c +++ b/arch/m68k/sun3x/config.c @@ -19,6 +19,7 @@ #include #include #include +#include #include "time.h"