]> Pileus Git - ~andy/linux/commitdiff
Staging: hv: vmbus: Introduce vmbus ID space in struct hv_driver
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 25 Aug 2011 16:48:31 +0000 (09:48 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Aug 2011 17:46:12 +0000 (10:46 -0700)
In preparation for supporting auto-loading Hyper-V drivers
using vmbus specific aliases, introduce vmbus ID space in struct hv_driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/hyperv.h

index 399d9fe7a81aa19a7089384a84b768e008041a7d..b8199f4b4aed7734565988cb25668c0f25a728af 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/workqueue.h>
 #include <linux/completion.h>
 #include <linux/device.h>
+#include <linux/mod_devicetable.h>
 
 
 #include <asm/hyperv.h>
@@ -805,6 +806,7 @@ struct hv_driver {
 
        /* the device type supported by this driver */
        uuid_le dev_type;
+       const struct hv_vmbus_device_id *id_table;
 
        struct device_driver driver;