aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pst
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pst')
-rw-r--r--sys/dev/pst/pst-pci.c2
-rw-r--r--sys/dev/pst/pst-raid.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pst/pst-pci.c b/sys/dev/pst/pst-pci.c
index 3c1f740cf2f8..3815deef4039 100644
--- a/sys/dev/pst/pst-pci.c
+++ b/sys/dev/pst/pst-pci.c
@@ -118,7 +118,7 @@ static device_method_t pst_pci_methods[] = {
DEVMETHOD(device_probe, iop_pci_probe),
DEVMETHOD(device_attach, iop_pci_attach),
DEVMETHOD(device_detach, iop_pci_detach),
- { 0, 0 }
+ DEVMETHOD_END
};
static driver_t pst_pci_driver = {
diff --git a/sys/dev/pst/pst-raid.c b/sys/dev/pst/pst-raid.c
index 3e98ed9eb1d2..5895ddfaa99e 100644
--- a/sys/dev/pst/pst-raid.c
+++ b/sys/dev/pst/pst-raid.c
@@ -368,7 +368,7 @@ bpack(int8_t *src, int8_t *dst, int len)
static device_method_t pst_methods[] = {
DEVMETHOD(device_probe, pst_probe),
DEVMETHOD(device_attach, pst_attach),
- { 0, 0 }
+ DEVMETHOD_END
};
static driver_t pst_driver = {