From 61bfd867626dad25026bafcbc5fbc595d9e85417 Mon Sep 17 00:00:00 2001 From: Sofian Brabez 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/if_ct.c') diff --git a/sys/dev/ctau/if_ct.c b/sys/dev/ctau/if_ct.c index 7b4abc3f0131..fc3e916fefbb 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.2.3