]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: hv: Add probe function to struct hv_driver
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 29 Apr 2011 20:45:09 +0000 (13:45 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 20:31:29 +0000 (13:31 -0700)
Add probe function to struct hv_driver.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_api.h

index 14df762b05d649c8ad7690f3c88f296ac9f6d7bd..4ffb73969e4199e618cedf768a1b3ecbba98123f 100644 (file)
@@ -99,6 +99,9 @@ struct hv_driver {
        int (*dev_add)(struct hv_device *device, void *data);
        int (*dev_rm)(struct hv_device *device);
        void (*cleanup)(struct hv_driver *driver);
+
+       int (*probe)(struct hv_device *);
+
 };
 
 /* Base device object */