summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-11-22 21:49:29 +0000
committermarius <marius@FreeBSD.org>2011-11-22 21:49:29 +0000
commitb5276a5d440b9f4954485149410c766095f71ba9 (patch)
tree8854fbc69cbc9981bf82b3fd78d3603c6baf631d
parent17e14c6132be998c8e8d0c2fc89ff0b66d24999c (diff)
downloadFreeBSD-src-b5276a5d440b9f4954485149410c766095f71ba9.zip
FreeBSD-src-b5276a5d440b9f4954485149410c766095f71ba9.tar.gz
Update to use DEVMETHOD_END.
-rwxr-xr-xshare/examples/drivers/make_device_driver.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/examples/drivers/make_device_driver.sh b/share/examples/drivers/make_device_driver.sh
index d7b9259..4796a0c 100755
--- a/share/examples/drivers/make_device_driver.sh
+++ b/share/examples/drivers/make_device_driver.sh
@@ -261,7 +261,7 @@ static device_method_t ${1}_methods[] = {
DEVMETHOD(device_probe, ${1}_isa_probe),
DEVMETHOD(device_attach, ${1}_isa_attach),
DEVMETHOD(device_detach, ${1}_isa_detach),
- { 0, 0 }
+ DEVMETHOD_END
};
static driver_t ${1}_isa_driver = {
OpenPOWER on IntegriCloud