summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2011-04-29 20:45:09 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-03 20:31:29 (GMT)
commitdb1c19691c596375f7cae9a94b65865e523b3e6c (patch)
tree47cbca3e22bed0b9644ca2e5c478be73dae0b0e0
parent9adcac5c16853116dab934270967e864ceeb9c41 (diff)
downloadlinux-fsl-qoriq-db1c19691c596375f7cae9a94b65865e523b3e6c.tar.xz
Staging: hv: Add probe function to struct hv_driver
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>
-rw-r--r--drivers/staging/hv/vmbus_api.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h
index 14df762..4ffb739 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 */