summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-11-19 23:57:30 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-11-19 23:57:30 +0000
commit6e2ce1dfbb7ab06d97336b2826c8e7e80d1213e7 (patch)
tree41d37ba5c4cf2c276c84ab2611bca6a0d66c2421 /sys/dev/pci
parent00ee91838e5cbcab7a708cd0dfdc87e9ad884bda (diff)
Since we have a cast'd pci_attach_args already, use it instead of another cast.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/bha_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/bha_pci.c b/sys/dev/pci/bha_pci.c
index 06a44c5169f..7ad134f617b 100644
--- a/sys/dev/pci/bha_pci.c
+++ b/sys/dev/pci/bha_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bha_pci.c,v 1.3 2002/11/19 18:40:17 jason Exp $ */
+/* $OpenBSD: bha_pci.c,v 1.4 2002/11/19 23:57:29 jason Exp $ */
/* $NetBSD: bha_pci.c,v 1.16 1998/08/15 10:10:53 mycroft Exp $ */
/*-
@@ -84,7 +84,7 @@ bha_pci_match(parent, match, aux)
bus_size_t iosize;
int rv;
- if (pci_matchbyid((struct pci_attach_args *)aux, bha_pci_devices,
+ if (pci_matchbyid(pa, bha_pci_devices,
sizeof(bha_pci_devices)/sizeof(bha_pci_devices[0])) == 0)
return (0);