diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index f1f1a25fe260..c9f90ff47d0d 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -73,13 +73,13 @@ static void bpack(int8_t *, int8_t *, int); /* global vars */ MALLOC_DEFINE(M_ATA, "ata_generic", "ATA driver generic layer"); int (*ata_raid_ioctl_func)(u_long cmd, caddr_t data) = NULL; +struct intr_config_hook *ata_delayed_attach = NULL; devclass_t ata_devclass; uma_zone_t ata_request_zone; uma_zone_t ata_composite_zone; int ata_wc = 1; /* local vars */ -static struct intr_config_hook *ata_delayed_attach = NULL; static int ata_dma = 1; static int atapi_dma = 1; diff --git a/sys/dev/ata/ata-all.h b/sys/dev/ata/ata-all.h index 436182495cd0..2bd3e37352ca 100644 --- a/sys/dev/ata/ata-all.h +++ b/sys/dev/ata/ata-all.h @@ -527,6 +527,7 @@ struct ata_channel { /* externs */ extern int (*ata_raid_ioctl_func)(u_long cmd, caddr_t data); +extern struct intr_config_hook *ata_delayed_attach; extern devclass_t ata_devclass; extern int ata_wc;