From 3c1523b9d54a950714d9c987515d1768c25eccd6 Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 3 Mar 2009 18:54:57 +0000 Subject: [PATCH] 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 *. --- sys/pci/viapm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/pci/viapm.c b/sys/pci/viapm.c index e698b7727760..66dd3b5d60eb 100644 --- a/sys/pci/viapm.c +++ b/sys/pci/viapm.c @@ -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;