aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/hv/ChannelMgmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/hv/ChannelMgmt.h')
-rw-r--r--drivers/staging/hv/ChannelMgmt.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/hv/ChannelMgmt.h b/drivers/staging/hv/ChannelMgmt.h
index 733ef8d45a3..0730182fe20 100644
--- a/drivers/staging/hv/ChannelMgmt.h
+++ b/drivers/staging/hv/ChannelMgmt.h
@@ -218,8 +218,6 @@ struct vmbus_channel_version_response {
bool VersionSupported;
} __attribute__((packed));
-typedef void (*PFN_CHANNEL_CALLBACK)(void *context);
-
enum vmbus_channel_state {
CHANNEL_OFFER_STATE,
CHANNEL_OPENING_STATE,
@@ -256,7 +254,7 @@ struct vmbus_channel {
/* Channel callback are invoked in this workqueue context */
/* HANDLE dataWorkQueue; */
- PFN_CHANNEL_CALLBACK OnChannelCallback;
+ void (*OnChannelCallback)(void *context);
void *ChannelCallbackContext;
};