diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2007-02-20 22:25:46 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2007-02-20 22:25:46 +0000 |
commit | 20ec410a244f4aa2734f32891e550024a842d6f0 (patch) | |
tree | e64a31a26d0cb602f4bd2fa874652fba3c369605 /sys | |
parent | d2fd6c21fa999e6b888fa51e08f2f1e44cd263c0 (diff) |
KNF while here.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/acpi/acpihpet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/acpihpet.c b/sys/dev/acpi/acpihpet.c index ff88bc3437f..e15fb032246 100644 --- a/sys/dev/acpi/acpihpet.c +++ b/sys/dev/acpi/acpihpet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpihpet.c,v 1.2 2007/02/19 23:42:39 jordan Exp $ */ +/* $OpenBSD: acpihpet.c,v 1.3 2007/02/20 22:25:45 marco Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * @@ -92,13 +92,13 @@ acpihpet_attach(struct device *parent, struct device *self, void *aux) u_int64_t period, freq; /* timer period in femtoseconds (10^-15) */ if (acpi_map_address(psc, &hpet->base_address, 0, HPET_REG_SIZE, - &sc->sc_ioh, &sc->sc_iot)) { + &sc->sc_ioh, &sc->sc_iot)) { printf(": can't map i/o space\n"); return; } period = bus_space_read_4(sc->sc_iot, sc->sc_ioh, - HPET_CAPABILITIES + sizeof(u_int32_t)); + HPET_CAPABILITIES + sizeof(u_int32_t)); freq = 1000000000000000ull / period; printf(": %lld Hz\n", freq); |