[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/22] hw/i386/acpi-build: Make aml_pci_device_dsm() static
From: |
Eric Auger |
Subject: |
[PATCH 01/22] hw/i386/acpi-build: Make aml_pci_device_dsm() static |
Date: |
Wed, 14 May 2025 19:00:48 +0200 |
No need to export aml_pci_device_dsm() as it is only used
in hw/i386/acpi-build.c.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
---
include/hw/acpi/pci.h | 1 -
hw/i386/acpi-build.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/hw/acpi/pci.h b/include/hw/acpi/pci.h
index 6359d574fd..ab0187a894 100644
--- a/include/hw/acpi/pci.h
+++ b/include/hw/acpi/pci.h
@@ -36,7 +36,6 @@ typedef struct AcpiMcfgInfo {
void build_mcfg(GArray *table_data, BIOSLinker *linker, AcpiMcfgInfo *info,
const char *oem_id, const char *oem_table_id);
-Aml *aml_pci_device_dsm(void);
void build_append_pci_bus_devices(Aml *parent_scope, PCIBus *bus);
void build_pci_bridge_aml(AcpiDevAmlIf *adev, Aml *scope);
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index f40ad062f9..9e584e69fd 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -338,7 +338,7 @@ build_facs(GArray *table_data)
g_array_append_vals(table_data, reserved, 40); /* Reserved */
}
-Aml *aml_pci_device_dsm(void)
+static Aml *aml_pci_device_dsm(void)
{
Aml *method;
--
2.49.0
- [PATCH 00/22] ACPI PCI Hotplug support on ARM, Eric Auger, 2025/05/14
- [PATCH 01/22] hw/i386/acpi-build: Make aml_pci_device_dsm() static,
Eric Auger <=
- [PATCH 02/22] hw/arm/virt: Introduce machine state acpi pcihp flags and props, Eric Auger, 2025/05/14
- [PATCH 03/22] hw/acpi: Rename and move build_x86_acpi_pci_hotplug to pcihp, Eric Auger, 2025/05/14
- [PATCH 04/22] hw/pci-host/gpex-acpi: Add native_pci_hotplug arg to acpi_dsdt_add_pci_osc, Eric Auger, 2025/05/14
- [PATCH 05/22] hw/pci-host/gpex-acpi: Split host bridge OSC and DSM generation, Eric Auger, 2025/05/14
- [PATCH 08/22] hw/pci-host/gpex-acpi: Use build_pci_host_bridge_osc_method, Eric Auger, 2025/05/14
- [PATCH 10/22] hw/acpi/pcihp: Add an AmlRegionSpace arg to build_acpi_pci_hotplug, Eric Auger, 2025/05/14
- [PATCH 12/22] hw/i386/acpi-build: Move build_append_pci_bus_devices/pcihp_slots to pcihp, Eric Auger, 2025/05/14
- [PATCH 06/22] hw/pci-host/gpex-acpi: Propagate hotplug type info from virt machine downto gpex, Eric Auger, 2025/05/14
- [PATCH 07/22] hw/i386/acpi-build: Turn build_q35_osc_method into a generic method, Eric Auger, 2025/05/14
- [PATCH 09/22] hw/i386/acpi-build: Introduce build_append_pcihp_resources() helper, Eric Auger, 2025/05/14