Commit a91befc1 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: hv: add driver_data to hv_vmbus_device_id

This is going to be needed by some drivers that handle more than one
device, like all other bus types do, so prepare for that in advance
before the user/kernel api is used.

Cc:  K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 17be18c2
...@@ -410,6 +410,8 @@ struct virtio_device_id { ...@@ -410,6 +410,8 @@ struct virtio_device_id {
*/ */
struct hv_vmbus_device_id { struct hv_vmbus_device_id {
__u8 guid[16]; __u8 guid[16];
kernel_ulong_t driver_data /* Data private to the driver */
__attribute__((aligned(sizeof(kernel_ulong_t))));
}; };
/* i2c */ /* i2c */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment