From 0cd2a50727093d06b53039e7be5f341800c31fbe Mon Sep 17 00:00:00 2001
From: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Date: Mon, 4 Sep 2023 08:32:39 -0500
Subject: device/pci_rom: rename pci_rom_acpi_fill_vfct()

Rename pci_rom_acpi_fill_vfct() to ati_rom_acpi_fill_vfct() to make
it clear that the function is only used for AMD/ATI VGA option ROMs.

Change-Id: I0e310dd2d7a0432918861632e09a23e162082ea5
Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77634
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
---
 src/device/pci_rom.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src')

diff --git a/src/device/pci_rom.c b/src/device/pci_rom.c
index debefb248c..46bf1144bc 100644
--- a/src/device/pci_rom.c
+++ b/src/device/pci_rom.c
@@ -219,7 +219,7 @@ static struct rom_header *check_initialized(const struct device *dev)
 }
 
 static unsigned long
-pci_rom_acpi_fill_vfct(const struct device *device, acpi_vfct_t *vfct_struct,
+ati_rom_acpi_fill_vfct(const struct device *device, acpi_vfct_t *vfct_struct,
 		       unsigned long current)
 {
 	acpi_vfct_image_hdr_t *header = &vfct_struct->image_hdr;
@@ -280,7 +280,7 @@ pci_rom_write_acpi_tables(const struct device *device, unsigned long current,
 
 		current = ALIGN_UP(current, 8);
 		vfct = (acpi_vfct_t *)current;
-		acpi_create_vfct(device, vfct, pci_rom_acpi_fill_vfct);
+		acpi_create_vfct(device, vfct, ati_rom_acpi_fill_vfct);
 		if (vfct->header.length) {
 			printk(BIOS_DEBUG, "ACPI:    * VFCT at %lx\n", current);
 			current += vfct->header.length;
-- 
cgit v1.2.3