diff options
author | sbz <sbz@FreeBSD.org> | 2013-01-30 18:01:20 +0000 |
---|---|---|
committer | sbz <sbz@FreeBSD.org> | 2013-01-30 18:01:20 +0000 |
commit | 4d7bb3e81a5dfb71f05d8dc1e9faa4d0bd112e1b (patch) | |
tree | b90283573540537e551848558d0045460649c4e6 /sys/dev/digi | |
parent | 3e28301ce283fac4598377e876e6c9c8231a3c9a (diff) | |
download | FreeBSD-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/digi')
-rw-r--r-- | sys/dev/digi/digi_isa.c | 3 | ||||
-rw-r--r-- | sys/dev/digi/digi_pci.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/digi/digi_isa.c b/sys/dev/digi/digi_isa.c index f1f4a5f..0a0a2a0 100644 --- a/sys/dev/digi/digi_isa.c +++ b/sys/dev/digi/digi_isa.c @@ -462,7 +462,8 @@ static device_method_t digi_isa_methods[] = { DEVMETHOD(device_attach, digi_isa_attach), DEVMETHOD(device_detach, digi_detach), DEVMETHOD(device_shutdown, digi_shutdown), - {0, 0} + + DEVMETHOD_END }; static driver_t digi_isa_drv = { diff --git a/sys/dev/digi/digi_pci.c b/sys/dev/digi/digi_pci.c index 342858e..55814cd 100644 --- a/sys/dev/digi/digi_pci.c +++ b/sys/dev/digi/digi_pci.c @@ -219,7 +219,8 @@ static device_method_t digi_pci_methods[] = { DEVMETHOD(device_attach, digi_pci_attach), DEVMETHOD(device_detach, digi_detach), DEVMETHOD(device_shutdown, digi_shutdown), - {0, 0} + + DEVMETHOD_END }; static driver_t digi_pci_drv = { |