summaryrefslogtreecommitdiffstats
path: root/sys/dev/idt/idt_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/idt/idt_pci.c')
-rw-r--r--sys/dev/idt/idt_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/idt/idt_pci.c b/sys/dev/idt/idt_pci.c
index c2fe260..69b8e2e 100644
--- a/sys/dev/idt/idt_pci.c
+++ b/sys/dev/idt/idt_pci.c
@@ -267,13 +267,13 @@ idt_free (device_t dev)
}
static int
-idt_modevent (module_t mod, int what, void *arg)
+idt_modevent (module_t mod, int type, void *data)
{
int error;
error = 0;
- switch (what) {
+ switch (type) {
case MOD_LOAD:
idt_nif_zone = uma_zcreate("idt nif",
sizeof(struct atm_nif),
OpenPOWER on IntegriCloud