From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:54:06 +0000 (-0700) Subject: Staging: hv: Rename the function stor_vsc_get_major_info() X-Git-Tag: v3.0-rc1~336^2~414 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=43c51f7dd13c75962eebc4c28667d1b0162543ed;p=karo-tx-linux.git Staging: hv: Rename the function stor_vsc_get_major_info() 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/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_ */