summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/hfa/hfa_freebsd.c4
-rw-r--r--sys/dev/idt/idt_pci.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/hfa/hfa_freebsd.c b/sys/dev/hfa/hfa_freebsd.c
index 67e4e76..d535336 100644
--- a/sys/dev/hfa/hfa_freebsd.c
+++ b/sys/dev/hfa/hfa_freebsd.c
@@ -358,13 +358,13 @@ hfa_reset (device_t dev)
}
static int
-hfa_modevent (module_t mod, int what, void *arg)
+hfa_modevent (module_t mod, int type, void *data)
{
int error;
error = 0;
- switch (what) {
+ switch (type) {
case MOD_LOAD:
/*
* Verify software version
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