aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2011-08-25 10:25:37 -0700
committerGreg Kroah-Hartman <[email protected]>2011-08-25 10:25:37 -0700
commita91befc116f424883602fb7b57b63b5fcfe18719 (patch)
tree8fac5cc0c363d37e6547e7a80bac2a61ea593e5e /include/linux
parent17be18c2b5f5c8acd75e4edf1211abf2cfd60fa5 (diff)
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 <[email protected]> Cc: Haiyang Zhang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mod_devicetable.h2
1 files changed, 2 insertions, 0 deletions
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 */