summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-04-09 20:03:03 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-04-09 20:03:03 +0000
commit88b6fed94ba8967c0530d249ded78ea393dba767 (patch)
tree9699563c9a8507441bdae9fe6d3974a0dc11e8c5 /sys
parent8c8f5bd419d108f0f3ecbab1329a68f355f29b8a (diff)
Unbreak the tree.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/dev/rtc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/rtc.c b/sys/arch/sparc64/dev/rtc.c
index 47b85cb3085..11aefe64fa6 100644
--- a/sys/arch/sparc64/dev/rtc.c
+++ b/sys/arch/sparc64/dev/rtc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtc.c,v 1.1 2007/04/09 19:59:06 kettenis Exp $ */
+/* $OpenBSD: rtc.c,v 1.2 2007/04/09 20:03:02 kettenis Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -159,8 +159,7 @@ rtc_attach(struct device *parent, struct device *self, void *aux)
* Turn interrupts off, just in case. (Although they shouldn't
* be wired to an interrupt controller on sparcs).
*/
- rtc_write_reg(sc->sc_iot, sc->sc_ioh,
- MC_REGB, MC_REGB_BINARY | MC_REGB_24HR);
+ rtc_write_reg(sc, MC_REGB, MC_REGB_BINARY | MC_REGB_24HR);
/*
* On ds1287 models (which really are ns87317 chips), the