From nobody Sat May 18 21:16:07 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=amsat.org ARC-Seal: i=1; a=rsa-sha256; t=1603106838; cv=none; d=zohomail.com; s=zohoarc; b=nO14yrgi5eIcnaW1pwFTXEklzEqAwYS4+Robt2oFFDR2imupTZsnev237hUKM/CWw8XAc6XDJ22Ra0sSFgvpXQ8NFWxhJj8sXF/9MbVj0BMmdHrJMvARIOnW6nsTFxI5hkrwPZNhLJj90NxmwhBZhnlcg3Rxs0MUMog5YJSCgTg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603106838; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=OXeBoUdOo5NY6eTN5elXmFP20gkOzGyp6dljEkbwOz4=; b=eF3wFB9NjQUL9trewyuIqtr4nJJQYWMS1fSzE/v+PxT9OuYVLk0H815p3s3RV7aQ+GugOAWouwat1nRu0DcVcynhq2mtAUKmsGy06wUXQJ3iJbFRQ3wB3jl48x28+Ae8/1f5CPtwoturQVWQGsNRE/JoEXp/esp6as0BLRWfH70= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1603106838117105.62775284589247; Mon, 19 Oct 2020 04:27:18 -0700 (PDT) Received: from localhost ([::1]:60656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUTJt-0008QJ-4S for importer@patchew.org; Mon, 19 Oct 2020 07:27:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUTJC-0007sE-Fx; Mon, 19 Oct 2020 07:26:34 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:37832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUTJB-00066B-0o; Mon, 19 Oct 2020 07:26:34 -0400 Received: by mail-wr1-x442.google.com with SMTP id h7so11004192wre.4; Mon, 19 Oct 2020 04:26:32 -0700 (PDT) Received: from x1w.redhat.com (237.red-88-18-140.staticip.rima-tde.net. [88.18.140.237]) by smtp.gmail.com with ESMTPSA id x1sm17249422wrl.41.2020.10.19.04.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2020 04:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OXeBoUdOo5NY6eTN5elXmFP20gkOzGyp6dljEkbwOz4=; b=rOm4sgLFRXggPcf2uVYU+hOKGoG9BoYQ14AtneWNcEy+rvPhZDbnnVYQ8o9JnRFWpL Fbr0kySRQtez7lszCR7OlgpRAzcOrBSVt0VyZiBVHs8r5++eO7tMNk1z5GlqrUVa4Bgj e/b3+dvsbWAISESMXrH6IZZQl/xoEJLPxRdUmb38M+IDEfN75fIejc8YxcpU5EO2w0+f wckNpXT0yIgbpHbzY3+/bqjTRr+y0I2L79hI0AOiX/B1CQQsp/ms5YBhl4MPg2Gq0Pjm J+RewzURFVSmzIetiYYnhUEYnaLGLu8r5k69jW6u4qJrVulLn6QQCj74nAeVYDjryN/f IFiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=OXeBoUdOo5NY6eTN5elXmFP20gkOzGyp6dljEkbwOz4=; b=TFznO2IpO73VM4FJTBu/pnRj5Bt4dKrC1kn3Mxa9O6YwxDeaq7HKUpwhbF1LzdQlcw R/0uut/8RkSR+yyREMxIEECzsCs60YHtPnO0DePGc8rieIfPR8Qf+x1HPkMWKfB+efoZ rxtrmUL0mL0sDx9DktOf9LYy/6UpTlE3quKqSOHeXf4rAMd4m04+jmw9LhBhvtMJkNvA lrgH6LjXTsgLSnS7L02ahEWXrgGClAwGn+ospmNxrRFF0MTOwaRiECS93wgdeAIKRapX W0NuITxLU2xUdCSdq5hiV/ORZHRdp0LWVHu4rbFRQo3q0aeRU3a2jIydNqfvjdlxwT1X gAyA== X-Gm-Message-State: AOAM531v6Lj36K9He14uUGTu1nkt1cdFI+JLMyh6OsIEnhxm3CWa0QDH J6GS1SRKte9lai69kxXu+m2mGbAKo8w= X-Google-Smtp-Source: ABdhPJzqhVaxMFHLdT3z+O0TKBZC8Kmh79o7G72bSoa507VwEsMgIZqaD+U6k9pzyXrGMzld8uvzrg== X-Received: by 2002:adf:e891:: with SMTP id d17mr12813765wrm.218.1603106790729; Mon, 19 Oct 2020 04:26:30 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH] hw/misc/bcm2835_cprman: Make cprman_internals an included source file Date: Mon, 19 Oct 2020 13:26:28 +0200 Message-Id: <20201019112628.1653550-1-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::442; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x442.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , qemu-arm@nongnu.org, Luc Michel , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Andrew Baumann Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) bcm2835_cprman_internals.h is only include by bcm2835_cprman.c and contains various static array definitions. Make it an included source file (using the .c.inc extension). Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- I'm sending this on top of: [PATCH v3 00/15] raspi: add the bcm2835 cprman clock manager to avoid a respin before soft freeze. This patch can be queued or squashed on top of patch #08/15: "bcm2835_cprman: add a PLL channel skeleton implementation" Based-on: <20201010135759.437903-1-luc@lmichel.fr> --- hw/misc/bcm2835_cprman.c | 2 +- .../misc/bcm2835_cprman_internals.c.inc | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename include/hw/misc/bcm2835_cprman_internals.h =3D> hw/misc/bcm2835_cpr= man_internals.c.inc (100%) diff --git a/hw/misc/bcm2835_cprman.c b/hw/misc/bcm2835_cprman.c index 7e415a017c9..9d4c0ee6c73 100644 --- a/hw/misc/bcm2835_cprman.c +++ b/hw/misc/bcm2835_cprman.c @@ -48,7 +48,7 @@ #include "migration/vmstate.h" #include "hw/qdev-properties.h" #include "hw/misc/bcm2835_cprman.h" -#include "hw/misc/bcm2835_cprman_internals.h" +#include "bcm2835_cprman_internals.c.inc" #include "trace.h" =20 /* PLL */ diff --git a/include/hw/misc/bcm2835_cprman_internals.h b/hw/misc/bcm2835_c= prman_internals.c.inc similarity index 100% rename from include/hw/misc/bcm2835_cprman_internals.h rename to hw/misc/bcm2835_cprman_internals.c.inc --=20 2.26.2