diff options
author | marius <marius@FreeBSD.org> | 2009-12-25 22:53:46 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2009-12-25 22:53:46 +0000 |
commit | 2b2ab161211ea3caf90b307e431dfe38db75a95e (patch) | |
tree | 0e04c69f69869c6c5111bd1952ca8d6da2e21187 /sys/sparc64 | |
parent | fafe874fa56eac30f631a1455711edb3249c9fc2 (diff) | |
download | FreeBSD-src-2b2ab161211ea3caf90b307e431dfe38db75a95e.zip FreeBSD-src-2b2ab161211ea3caf90b307e431dfe38db75a95e.tar.gz |
Style changes
Obtained from: NetBSD (mc146818reg.h)
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/sparc64/rtc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sparc64/sparc64/rtc.c b/sys/sparc64/sparc64/rtc.c index 7d9e129..d9b0da9 100644 --- a/sys/sparc64/sparc64/rtc.c +++ b/sys/sparc64/sparc64/rtc.c @@ -111,7 +111,7 @@ static device_method_t rtc_isa_methods[] = { DEVMETHOD(clock_gettime, mc146818_gettime), DEVMETHOD(clock_settime, mc146818_settime), - { 0, 0 } + KOBJMETHOD_END }; static driver_t rtc_isa_driver = { @@ -123,8 +123,8 @@ static driver_t rtc_isa_driver = { DRIVER_MODULE(rtc, isa, rtc_isa_driver, rtc_devclass, 0, 0); #endif -static u_int pc87317_getcent(device_t); -static void pc87317_setcent(device_t, u_int); +static u_int pc87317_getcent(device_t dev); +static void pc87317_setcent(device_t dev, u_int cent); static int rtc_ebus_probe(device_t dev) |