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/xen | |
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/xen')
-rw-r--r-- | sys/dev/xen/console/console.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/xen/console/console.c b/sys/dev/xen/console/console.c index 6a845ca..6281bf2 100644 --- a/sys/dev/xen/console/console.c +++ b/sys/dev/xen/console/console.c @@ -410,7 +410,8 @@ static device_method_t xc_methods[] = { DEVMETHOD(device_identify, xc_identify), DEVMETHOD(device_probe, xc_probe), DEVMETHOD(device_attach, xc_attach), - {0, 0} + + DEVMETHOD_END }; static driver_t xc_driver = { |