diff --git a/drivers/staging/hv/blkvsc_drv.c b/drivers/staging/hv/blkvsc_drv.c index d5ab7e5d91c1..2b27d00039f4 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -958,7 +958,7 @@ static int blkvsc_probe(struct hv_device *dev) dev_set_drvdata(&dev->device, blkdev); - ret = stor_vsc_get_major_info(&device_info, &major_info); + ret = storvsc_get_major_info(&device_info, &major_info); if (ret) goto cleanup; diff --git a/drivers/staging/hv/storvsc.c b/drivers/staging/hv/storvsc.c index 7074520603ff..8ee1ad06e71b 100644 --- a/drivers/staging/hv/storvsc.c +++ b/drivers/staging/hv/storvsc.c @@ -615,7 +615,7 @@ int storvsc_do_io(struct hv_device *device, * */ -int stor_vsc_get_major_info(struct storvsc_device_info *device_info, +int storvsc_get_major_info(struct storvsc_device_info *device_info, struct storvsc_major_info *major_info) { static bool ide0_registered; diff --git a/drivers/staging/hv/storvsc_api.h b/drivers/staging/hv/storvsc_api.h index 84ee5a9a79ce..32228c067656 100644 --- a/drivers/staging/hv/storvsc_api.h +++ b/drivers/staging/hv/storvsc_api.h @@ -170,7 +170,7 @@ int storvsc_dev_remove(struct hv_device *device); int storvsc_do_io(struct hv_device *device, struct hv_storvsc_request *request); -int stor_vsc_get_major_info(struct storvsc_device_info *device_info, +int storvsc_get_major_info(struct storvsc_device_info *device_info, struct storvsc_major_info *major_info); #endif /* _STORVSC_API_H_ */