summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/pnaphy.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-11-23 20:27:26 +0000
committermarius <marius@FreeBSD.org>2011-11-23 20:27:26 +0000
commit0f30a4cf8906e3cbfa5895b21f8f9232f17e39bb (patch)
tree64132c7e49e329a928e6af745181ad7d74e05f19 /sys/dev/mii/pnaphy.c
parentb1b604daf164ffbc385e965a85fc6bdd423f2746 (diff)
downloadFreeBSD-src-0f30a4cf8906e3cbfa5895b21f8f9232f17e39bb.zip
FreeBSD-src-0f30a4cf8906e3cbfa5895b21f8f9232f17e39bb.tar.gz
Use DEVMETHOD_END.
Diffstat (limited to 'sys/dev/mii/pnaphy.c')
-rw-r--r--sys/dev/mii/pnaphy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mii/pnaphy.c b/sys/dev/mii/pnaphy.c
index 0e77c4f..29f2c78 100644
--- a/sys/dev/mii/pnaphy.c
+++ b/sys/dev/mii/pnaphy.c
@@ -69,7 +69,7 @@ static device_method_t pnaphy_methods[] = {
DEVMETHOD(device_attach, pnaphy_attach),
DEVMETHOD(device_detach, mii_phy_detach),
DEVMETHOD(device_shutdown, bus_generic_shutdown),
- { 0, 0 }
+ DEVMETHOD_END
};
static devclass_t pnaphy_devclass;
OpenPOWER on IntegriCloud