From 4d7bb3e81a5dfb71f05d8dc1e9faa4d0bd112e1b Mon Sep 17 00:00:00 2001 From: sbz Date: Wed, 30 Jan 2013 18:01:20 +0000 Subject: 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 --- sys/dev/ctau/if_ct.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/ctau') diff --git a/sys/dev/ctau/if_ct.c b/sys/dev/ctau/if_ct.c index 7b4abc3..fc3e916 100644 --- a/sys/dev/ctau/if_ct.c +++ b/sys/dev/ctau/if_ct.c @@ -93,7 +93,8 @@ static device_method_t ct_isa_methods [] = { DEVMETHOD(device_probe, ct_probe), DEVMETHOD(device_attach, ct_attach), DEVMETHOD(device_detach, ct_detach), - {0, 0} + + DEVMETHOD_END }; typedef struct _ct_dma_mem_t { -- cgit v1.1