git: e427f47865c4 - stable/13 - agp_amd64: Use <machine/pci_cfgreg.h> rather than bare prototypes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Jan 2024 00:23:03 UTC
The branch stable/13 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=e427f47865c4b73e16e90af1b407858e0d46a03a
commit e427f47865c4b73e16e90af1b407858e0d46a03a
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:39 +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 eeaf6b59ea93..a2b6ffab95ea 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);