Use more standard variable names for modevent functions.
This commit is contained in:
parent
c12ef98f27
commit
945a11211b
@ -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
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user