summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2001-12-30 16:14:33 +0000
committertmm <tmm@FreeBSD.org>2001-12-30 16:14:33 +0000
commite97e1a4d643513399b5beea8c92a43fe2e8897af (patch)
tree25742f1a6490ca1b04e4482c0a38725a8061184c
parentdbbd8a474415fcb0219f39af431a6d9c6a2558f2 (diff)
downloadFreeBSD-src-e97e1a4d643513399b5beea8c92a43fe2e8897af.zip
FreeBSD-src-e97e1a4d643513399b5beea8c92a43fe2e8897af.tar.gz
Do not include pcib.h, which only existed in my development tree, and do
not use struct pcib_softc when struct apb_softc would be correct. Spotted by: jake Pointy hat to: tmm
-rw-r--r--sys/sparc64/pci/apb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sparc64/pci/apb.c b/sys/sparc64/pci/apb.c
index 61fa83c..52a5270 100644
--- a/sys/sparc64/pci/apb.c
+++ b/sys/sparc64/pci/apb.c
@@ -50,7 +50,6 @@
#include <pci/pcivar.h>
#include <pci/pcireg.h>
-#include <pci/pcib.h>
#include "pcib_if.h"
@@ -111,7 +110,7 @@ static device_method_t apb_methods[] = {
static driver_t apb_driver = {
"pcib",
apb_methods,
- sizeof(struct pcib_softc),
+ sizeof(struct apb_softc),
};
static devclass_t apb_devclass;
OpenPOWER on IntegriCloud