aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hyperv/include
diff options
context:
space:
mode:
authorSepherosa Ziehau <sephe@FreeBSD.org>2016-07-20 05:34:28 +0000
committerSepherosa Ziehau <sephe@FreeBSD.org>2016-07-20 05:34:28 +0000
commitca871fb75cc08bd0f1d1b56eb44843dd9638e577 (patch)
treee8bf375fa7f87a53f836991f504ef7e1a3dc60a1 /sys/dev/hyperv/include
parent9129ad2d709c2ee2e40a529cf443a3758dc6423a (diff)
Notes
Diffstat (limited to 'sys/dev/hyperv/include')
-rw-r--r--sys/dev/hyperv/include/hyperv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h
index a700ac9d18c0..f4fcd42cab6e 100644
--- a/sys/dev/hyperv/include/hyperv.h
+++ b/sys/dev/hyperv/include/hyperv.h
@@ -113,7 +113,9 @@ typedef struct {
uint32_t ring_data_size; /* ring_size */
} hv_vmbus_ring_buffer_info;
-typedef void (*vmbus_chan_callback_t)(void *);
+struct hv_vmbus_channel;
+
+typedef void (*vmbus_chan_callback_t)(struct hv_vmbus_channel *, void *);
typedef struct hv_vmbus_channel {
device_t ch_dev;