summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/beeper.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-08-19 20:19:14 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-08-19 20:19:14 +0000
commit8448e17eabfe6bc7803686b1116d71ee034cdabd (patch)
tree4a00f52e38ef6cb0237941eed687e2f971858c98 /sys/arch/sparc64/dev/beeper.c
parentb4d83f1109d682e5a806289bc2878a2fc4571bc9 (diff)
KNF (4 char continuations)
Diffstat (limited to 'sys/arch/sparc64/dev/beeper.c')
-rw-r--r--sys/arch/sparc64/dev/beeper.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/sparc64/dev/beeper.c b/sys/arch/sparc64/dev/beeper.c
index 12c45f35168..b87e7144b0e 100644
--- a/sys/arch/sparc64/dev/beeper.c
+++ b/sys/arch/sparc64/dev/beeper.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: beeper.c,v 1.5 2002/04/08 17:49:41 jason Exp $ */
+/* $OpenBSD: beeper.c,v 1.6 2002/08/19 20:19:13 jason Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
@@ -114,10 +114,8 @@ beeper_attach(parent, self, aux)
if (ea->ea_nvaddrs)
sc->sc_ioh = (bus_space_handle_t)ea->ea_vaddrs[0];
else if (ebus_bus_map(sc->sc_iot, 0,
- EBUS_PADDR_FROM_REG(&ea->ea_regs[0]),
- ea->ea_regs[0].size,
- BUS_SPACE_MAP_LINEAR,
- 0, &sc->sc_ioh) != 0) {
+ EBUS_PADDR_FROM_REG(&ea->ea_regs[0]), ea->ea_regs[0].size,
+ BUS_SPACE_MAP_LINEAR, 0, &sc->sc_ioh) != 0) {
printf(": can't map register space\n");
return;
}