The callback takes a void *, not a caddr_t * (sic).
Except for the bb callback, which takes a caddr_t and not a caddr_t *.
This commit is contained in:
parent
e0a04e7474
commit
f987621403
@ -484,7 +484,7 @@ viapm_pro_detach(device_t dev)
|
||||
}
|
||||
|
||||
static int
|
||||
viabb_callback(device_t dev, int index, caddr_t *data)
|
||||
viabb_callback(device_t dev, int index, caddr_t data)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@ -641,7 +641,7 @@ viapm_wait(struct viapm_softc *viapm)
|
||||
}
|
||||
|
||||
static int
|
||||
viasmb_callback(device_t dev, int index, caddr_t *data)
|
||||
viasmb_callback(device_t dev, int index, void *data)
|
||||
{
|
||||
int error = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user