diff options
Diffstat (limited to 'include/linux/hyperv.h')
| -rw-r--r-- | include/linux/hyperv.h | 6 | 
1 files changed, 1 insertions, 5 deletions
| diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 5e39baa7f6cb..22c22fb91042 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -1330,11 +1330,7 @@ struct hv_device {  #define device_to_hv_device(d)	container_of_const(d, struct hv_device, device) - -static inline struct hv_driver *drv_to_hv_drv(struct device_driver *d) -{ -	return container_of(d, struct hv_driver, driver); -} +#define drv_to_hv_drv(d)	container_of_const(d, struct hv_driver, driver)  static inline void hv_set_drvdata(struct hv_device *dev, void *data)  { |