From: K. Y. Srinivasan Date: Thu, 25 Aug 2011 16:48:29 +0000 (-0700) Subject: Staging: hv: Add struct hv_vmbus_device_id to mod_devicetable.h X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=17be18c2b5f5c8acd75e4edf1211abf2cfd60fa5;p=mv-sheeva.git Staging: hv: Add struct hv_vmbus_device_id to mod_devicetable.h In preparation for implementing vmbus aliases for auto-loading Hyper-V drivers, define vmbus specific device ID. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index ae28e93fd07..5a123774c2e 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h @@ -405,6 +405,13 @@ struct virtio_device_id { }; #define VIRTIO_DEV_ANY_ID 0xffffffff +/* + * For Hyper-V devices we use the device guid as the id. + */ +struct hv_vmbus_device_id { + __u8 guid[16]; +}; + /* i2c */ #define I2C_NAME_SIZE 20