From: K. Y. Srinivasan Date: Fri, 29 Apr 2011 20:45:09 +0000 (-0700) Subject: Staging: hv: Add probe function to struct hv_driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=db1c19691c596375f7cae9a94b65865e523b3e6c;p=mv-sheeva.git Staging: hv: Add probe function to struct hv_driver Add probe function to struct hv_driver. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h index 14df762b05d..4ffb73969e4 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h @@ -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 */