diff options
author | Sofian Brabez <sbz@FreeBSD.org> | 2013-01-30 18:01:20 +0000 |
---|---|---|
committer | Sofian Brabez <sbz@FreeBSD.org> | 2013-01-30 18:01:20 +0000 |
commit | 61bfd867626dad25026bafcbc5fbc595d9e85417 (patch) | |
tree | b90283573540537e551848558d0045460649c4e6 /sys/dev/ctau/if_ct.c | |
parent | 8caedc2a57834d003127e32c17bc149271d856c2 (diff) | |
download | src-61bfd867626dad25026bafcbc5fbc595d9e85417.tar.gz src-61bfd867626dad25026bafcbc5fbc595d9e85417.zip |
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
Notes
Notes:
svn path=/head/; revision=246128
Diffstat (limited to 'sys/dev/ctau/if_ct.c')
-rw-r--r-- | sys/dev/ctau/if_ct.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |