From: Greg Kroah-Hartman Date: Thu, 25 Aug 2011 17:25:37 +0000 (-0700) Subject: Staging: hv: add driver_data to hv_vmbus_device_id X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a91befc116f424883602fb7b57b63b5fcfe18719;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Cc: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index 5a123774c2e6..468819cdde87 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h @@ -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 */