channel_callback, context);
}
-static void ivmbus_close(struct hv_device *device)
-{
- vmbus_close(device->channel);
-}
-
/* vmbus interface function pointer table */
const struct vmbus_channel_interface vmbus_ops = {
.Open = ivmbus_open,
- .Close = ivmbus_close,
};
/**
* struct vmbus_channel_interface - Contains member functions for vmbus channel
* @Open: Open the channel
- * @Close: Close the channel
*
* This structure contains function pointer to control vmbus channel
* behavior. None of these functions is externally callable, but they
u32 RecvRingBufferSize, void *UserData, u32 UserDataLen,
void (*ChannelCallback)(void *context),
void *Context);
- void (*Close)(struct hv_device *device);
};
extern const struct vmbus_channel_interface vmbus_ops;