summaryrefslogtreecommitdiffstats
path: root/sys/pci/viapm.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-03-03 18:54:57 +0000
committerimp <imp@FreeBSD.org>2009-03-03 18:54:57 +0000
commit3c1523b9d54a950714d9c987515d1768c25eccd6 (patch)
tree2221da0445d1a765e8144d0a08bc089871a2479d /sys/pci/viapm.c
parent7cc5fa7327837bb4b7b51af688dfba37548bd6aa (diff)
downloadFreeBSD-src-3c1523b9d54a950714d9c987515d1768c25eccd6.zip
FreeBSD-src-3c1523b9d54a950714d9c987515d1768c25eccd6.tar.gz
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 *.
Diffstat (limited to 'sys/pci/viapm.c')
-rw-r--r--sys/pci/viapm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/viapm.c b/sys/pci/viapm.c
index e698b77..66dd3b5 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;
OpenPOWER on IntegriCloud