summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_vx_pci.c
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-01-12 02:09:33 +0000
committereivind <eivind@FreeBSD.org>1999-01-12 02:09:33 +0000
commitcdcdfed3b958dab535c34fed0cb83f31cdd4a913 (patch)
tree1d39e21664799d6ddd583b135257be00cff9aa2d /sys/pci/if_vx_pci.c
parent80536f17c618b1dbef8800dc2ad27fd9640747cf (diff)
downloadFreeBSD-src-cdcdfed3b958dab535c34fed0cb83f31cdd4a913.zip
FreeBSD-src-cdcdfed3b958dab535c34fed0cb83f31cdd4a913.tar.gz
Switch type of vxintr instead of using the previous casts.
Requested by: bde
Diffstat (limited to 'sys/pci/if_vx_pci.c')
-rw-r--r--sys/pci/if_vx_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_vx_pci.c b/sys/pci/if_vx_pci.c
index 2584646..ab02693 100644
--- a/sys/pci/if_vx_pci.c
+++ b/sys/pci/if_vx_pci.c
@@ -126,7 +126,7 @@ vx_pci_attach(
*/
at_shutdown(vx_pci_shutdown, sc, SHUTDOWN_POST_SYNC);
- pci_map_int(config_id, (void (*)(void *)) vxintr, (void *) sc, &net_imask);
+ pci_map_int(config_id, vxintr, (void *) sc, &net_imask);
}
static struct pci_device vxdevice = {
OpenPOWER on IntegriCloud