diff --git a/[refs] b/[refs] index 2195dda46c66..f4ecf9daa696 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ef52a81bf5b229d74b76a25c5de22ae10e1fbb77 +refs/heads/master: ab101e86d0f2c00c11aec5b16e27246ccecb0870 diff --git a/trunk/drivers/staging/hv/hyperv.h b/trunk/drivers/staging/hv/hyperv.h index caa3a7ba8376..91e557b2fd18 100644 --- a/trunk/drivers/staging/hv/hyperv.h +++ b/trunk/drivers/staging/hv/hyperv.h @@ -843,6 +843,15 @@ static inline struct hv_driver *drv_to_hv_drv(struct device_driver *d) return container_of(d, struct hv_driver, driver); } +static inline void hv_set_drvdata(struct hv_device *dev, void *data) +{ + dev_set_drvdata(&dev->device, data); +} + +static inline void *hv_get_drvdata(struct hv_device *dev) +{ + return dev_get_drvdata(&dev->device); +} /* Vmbus interface */ #define vmbus_driver_register(driver) \