summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/pci/cia_pci.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-10-30 07:51:50 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-10-30 07:51:50 +0000
commitb7d21a0b11a579fc9038f789e7ed408129224814 (patch)
tree96b8ff6b7c4f71122b6c000c5ab4cae2f8540b5c /sys/arch/alpha/pci/cia_pci.c
parentfc4b0b0e31afa6b5550edf653657d8b26f4c92bb (diff)
Use NULL instead of 0 for pci_decompose_tag() pointer arguments.
Diffstat (limited to 'sys/arch/alpha/pci/cia_pci.c')
-rw-r--r--sys/arch/alpha/pci/cia_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/pci/cia_pci.c b/sys/arch/alpha/pci/cia_pci.c
index 597d9b9bae3..16d389aba50 100644
--- a/sys/arch/alpha/pci/cia_pci.c
+++ b/sys/arch/alpha/pci/cia_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cia_pci.c,v 1.12 2010/12/04 17:06:31 miod Exp $ */
+/* $OpenBSD: cia_pci.c,v 1.13 2015/10/30 07:51:49 miod Exp $ */
/* $NetBSD: cia_pci.c,v 1.25 2000/06/29 08:58:46 mrg Exp $ */
/*
@@ -144,7 +144,7 @@ cia_conf_read(cpv, tag, offset)
alpha_pal_draina();
/* secondary if bus # != 0 */
- pci_decompose_tag(&ccp->cc_pc, tag, &secondary, 0, 0);
+ pci_decompose_tag(&ccp->cc_pc, tag, &secondary, NULL, NULL);
if (secondary) {
s = splhigh();
old_cfg = REGVAL(CIA_CSR_CFG);
@@ -228,7 +228,7 @@ cia_conf_write(cpv, tag, offset, data)
#endif
/* secondary if bus # != 0 */
- pci_decompose_tag(&ccp->cc_pc, tag, &secondary, 0, 0);
+ pci_decompose_tag(&ccp->cc_pc, tag, &secondary, NULL, NULL);
if (secondary) {
s = splhigh();
old_cfg = REGVAL(CIA_CSR_CFG);