summaryrefslogtreecommitdiff
path: root/sys/dev/esp
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/esp')
-rw-r--r--sys/dev/esp/esp_pci.c2
-rw-r--r--sys/dev/esp/esp_sbus.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/esp/esp_pci.c b/sys/dev/esp/esp_pci.c
index 2fa2030659de..cd88f6bbfa5a 100644
--- a/sys/dev/esp/esp_pci.c
+++ b/sys/dev/esp/esp_pci.c
@@ -146,7 +146,7 @@ static device_method_t esp_pci_methods[] = {
DEVMETHOD(device_suspend, esp_pci_suspend),
DEVMETHOD(device_resume, esp_pci_resume),
- KOBJMETHOD_END
+ DEVMETHOD_END
};
static driver_t esp_pci_driver = {
diff --git a/sys/dev/esp/esp_sbus.c b/sys/dev/esp/esp_sbus.c
index c1ff021ee526..01ffb8d58fae 100644
--- a/sys/dev/esp/esp_sbus.c
+++ b/sys/dev/esp/esp_sbus.c
@@ -117,7 +117,7 @@ static device_method_t esp_dma_methods[] = {
DEVMETHOD(device_suspend, esp_suspend),
DEVMETHOD(device_resume, esp_resume),
- KOBJMETHOD_END
+ DEVMETHOD_END
};
static driver_t esp_dma_driver = {
@@ -136,7 +136,7 @@ static device_method_t esp_sbus_methods[] = {
DEVMETHOD(device_suspend, esp_suspend),
DEVMETHOD(device_resume, esp_resume),
- KOBJMETHOD_END
+ DEVMETHOD_END
};
static driver_t esp_sbus_driver = {