aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ata/ata-isa.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ata/ata-isa.c')
-rw-r--r--sys/dev/ata/ata-isa.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ata/ata-isa.c b/sys/dev/ata/ata-isa.c
index 09002819d71e..c94d2623f932 100644
--- a/sys/dev/ata/ata-isa.c
+++ b/sys/dev/ata/ata-isa.c
@@ -27,7 +27,6 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "opt_ata.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/ata.h>
@@ -195,7 +194,7 @@ static device_method_t ata_isa_methods[] = {
DEVMETHOD(device_suspend, ata_isa_suspend),
DEVMETHOD(device_resume, ata_isa_resume),
- { 0, 0 }
+ DEVMETHOD_END
};
static driver_t ata_isa_driver = {
@@ -204,5 +203,5 @@ static driver_t ata_isa_driver = {
sizeof(struct ata_channel),
};
-DRIVER_MODULE(ata, isa, ata_isa_driver, ata_devclass, 0, 0);
+DRIVER_MODULE(ata, isa, ata_isa_driver, ata_devclass, NULL, NULL);
MODULE_DEPEND(ata, ata, 1, 1, 1);