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:
imp 2009-03-03 18:54:57 +00:00
parent 7cc5fa7327
commit 3c1523b9d5

View File

@ -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;