summaryrefslogtreecommitdiffstats
path: root/sys/alpha/pci/apecs.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-12-23 02:36:43 +0000
committerpeter <peter@FreeBSD.org>2003-12-23 02:36:43 +0000
commit7cc77e03ae647ad532a0a4b708811e38ed15c9e4 (patch)
treed22ef24bdd562f18d9dfc77f257b3dd71335c80f /sys/alpha/pci/apecs.c
parent409dd19ac040f6465a4e73882c919f0dc679c18e (diff)
downloadFreeBSD-src-7cc77e03ae647ad532a0a4b708811e38ed15c9e4.zip
FreeBSD-src-7cc77e03ae647ad532a0a4b708811e38ed15c9e4.tar.gz
Catch a few places where NULL (pointer) was used where 0 (integer) was
expected.
Diffstat (limited to 'sys/alpha/pci/apecs.c')
-rw-r--r--sys/alpha/pci/apecs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/pci/apecs.c b/sys/alpha/pci/apecs.c
index cd9da04..a7cce49 100644
--- a/sys/alpha/pci/apecs.c
+++ b/sys/alpha/pci/apecs.c
@@ -292,7 +292,7 @@ apecs_attach(device_t dev)
sc->smem_base = APECS_PCI_SPARSE;
sc->io_base = APECS_PCI_SIO;
sc->cfg0_base = KV(APECS_PCI_CONF);
- sc->cfg1_base = NULL;
+ sc->cfg1_base = 0;
set_iointr(alpha_dispatch_intr);
OpenPOWER on IntegriCloud