summaryrefslogtreecommitdiff
path: root/sys/arch/aviion/dev/oosiop_syscon.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-04-07 15:30:17 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-04-07 15:30:17 +0000
commit470f59fa3f11b7317fc5907cfef6043f2104bcc6 (patch)
tree50aedec19587d2927b807e6719da0022055c56df /sys/arch/aviion/dev/oosiop_syscon.c
parent1d2ed5cc87538f3c2a6389c586a609a8b73610b7 (diff)
Do not use NULL in integer comparisons. No functional change.
ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@
Diffstat (limited to 'sys/arch/aviion/dev/oosiop_syscon.c')
-rw-r--r--sys/arch/aviion/dev/oosiop_syscon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/aviion/dev/oosiop_syscon.c b/sys/arch/aviion/dev/oosiop_syscon.c
index 8fd04b27191..e2ec0f46ce0 100644
--- a/sys/arch/aviion/dev/oosiop_syscon.c
+++ b/sys/arch/aviion/dev/oosiop_syscon.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: oosiop_syscon.c,v 1.3 2010/04/24 18:44:27 miod Exp $ */
+/* $OpenBSD: oosiop_syscon.c,v 1.4 2011/04/07 15:30:15 miod Exp $ */
/*
* Copyright (c) 2010 Miodrag Vallat.
@@ -95,7 +95,7 @@ oosiop_syscon_attach(struct device *parent, struct device *self, void *aux)
}
sc->sc_bst = ca->ca_iot;
sc->sc_bsh = ioh;
- sc->sc_dmat = NULL; /* no real use of tag yet */
+ sc->sc_dmat = 0; /* no real use of tag yet */
sc->sc_freq = 33333333; /* XXX 25MHz models? */
sc->sc_chip = OOSIOP_700;