diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mod_devicetable.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index ae28e93fd07..468819cdde8 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
@@ -405,6 +405,15 @@ struct virtio_device_id { | |||
405 | }; | 405 | }; |
406 | #define VIRTIO_DEV_ANY_ID 0xffffffff | 406 | #define VIRTIO_DEV_ANY_ID 0xffffffff |
407 | 407 | ||
408 | /* | ||
409 | * For Hyper-V devices we use the device guid as the id. | ||
410 | */ | ||
411 | struct hv_vmbus_device_id { | ||
412 | __u8 guid[16]; | ||
413 | kernel_ulong_t driver_data /* Data private to the driver */ | ||
414 | __attribute__((aligned(sizeof(kernel_ulong_t)))); | ||
415 | }; | ||
416 | |||
408 | /* i2c */ | 417 | /* i2c */ |
409 | 418 | ||
410 | #define I2C_NAME_SIZE 20 | 419 | #define I2C_NAME_SIZE 20 |