summaryrefslogtreecommitdiffstats
path: root/sys/dev/iicbus/ds1672.c
diff options
context:
space:
mode:
authorsbz <sbz@FreeBSD.org>2013-01-30 18:01:20 +0000
committersbz <sbz@FreeBSD.org>2013-01-30 18:01:20 +0000
commit4d7bb3e81a5dfb71f05d8dc1e9faa4d0bd112e1b (patch)
treeb90283573540537e551848558d0045460649c4e6 /sys/dev/iicbus/ds1672.c
parent3e28301ce283fac4598377e876e6c9c8231a3c9a (diff)
downloadFreeBSD-src-4d7bb3e81a5dfb71f05d8dc1e9faa4d0bd112e1b.zip
FreeBSD-src-4d7bb3e81a5dfb71f05d8dc1e9faa4d0bd112e1b.tar.gz
Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays
Reviewed by: cognet Approved by: cognet
Diffstat (limited to 'sys/dev/iicbus/ds1672.c')
-rw-r--r--sys/dev/iicbus/ds1672.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iicbus/ds1672.c b/sys/dev/iicbus/ds1672.c
index a9209bd..1dd0ab0 100644
--- a/sys/dev/iicbus/ds1672.c
+++ b/sys/dev/iicbus/ds1672.c
@@ -167,7 +167,7 @@ static device_method_t ds1672_methods[] = {
DEVMETHOD(clock_gettime, ds1672_gettime),
DEVMETHOD(clock_settime, ds1672_settime),
- {0, 0},
+ DEVMETHOD_END
};
static driver_t ds1672_driver = {
OpenPOWER on IntegriCloud