git: 1309b3fd0113 - stable/14 - agp_amd64: Use <machine/pci_cfgreg.h> rather than bare prototypes

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 05 Jan 2024 00:22:47 UTC
The branch stable/14 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=1309b3fd01138c7a65a22c2297f261be3d313f0e

commit 1309b3fd01138c7a65a22c2297f261be3d313f0e
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-11-29 18:31:16 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-01-04 23:13:26 +0000

    agp_amd64: Use <machine/pci_cfgreg.h> rather than bare prototypes
    
    Reviewed by:    imp
    Differential Revision:  https://reviews.freebsd.org/D42826
    
    (cherry picked from commit 71ac18a84df2771fb9bd91e2349eae91602c4e46)
---
 sys/dev/agp/agp_amd64.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sys/dev/agp/agp_amd64.c b/sys/dev/agp/agp_amd64.c
index 7ad974f698e9..a123e6f3bbfd 100644
--- a/sys/dev/agp/agp_amd64.c
+++ b/sys/dev/agp/agp_amd64.c
@@ -47,12 +47,9 @@
 #include <vm/pmap.h>
 #include <machine/bus.h>
 #include <machine/resource.h>
+#include <machine/pci_cfgreg.h>
 #include <sys/rman.h>
 
-/* XXX */
-extern void pci_cfgregwrite(int, int, int, int, uint32_t, int);
-extern uint32_t pci_cfgregread(int, int, int, int, int);
-
 static void agp_amd64_apbase_fixup(device_t);
 
 static void agp_amd64_uli_init(device_t);