Staging: hv: add driver_data to hv_vmbus_device_id
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Aug 2011 17:25:37 +0000 (10:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Aug 2011 17:25:37 +0000 (10:25 -0700)
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: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/mod_devicetable.h

index 5a123774c2e67fcd22c6be52aeffd620a46b191f..468819cdde87c987fad9294e53dcc5652c508980 100644 (file)
@@ -410,6 +410,8 @@ struct virtio_device_id {
  */
 struct hv_vmbus_device_id {
        __u8 guid[16];
+       kernel_ulong_t driver_data      /* Data private to the driver */
+                       __attribute__((aligned(sizeof(kernel_ulong_t))));
 };
 
 /* i2c */