From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:53:50 +0000 (-0700) Subject: Staging: hv: blkvsc_drv: Rename driver name variable X-Git-Tag: v3.0-rc1~336^2~430 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5e9fed195bac5eb89e2ee3c9ce89379b8a55be4f;p=karo-tx-linux.git Staging: hv: blkvsc_drv: Rename driver name variable Rename the variable g_blk_driver_name. 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 8a577bc849e5..b54130be3ee1 100644 --- a/drivers/staging/hv/blkvsc_drv.c +++ b/drivers/staging/hv/blkvsc_drv.c @@ -112,7 +112,7 @@ struct block_device_context { int users; }; -static const char *g_blk_driver_name = "blkvsc"; +static const char *drv_name = "blkvsc"; /* {32412632-86cb-44a2-9b5c-50d1417354f5} */ static const struct hv_guid g_blk_device_type = { @@ -177,7 +177,7 @@ static int blk_vsc_initialize(struct hv_driver *driver) /* Make sure we are at least 2 pages since 1 page is used for control */ - driver->name = g_blk_driver_name; + driver->name = drv_name; memcpy(&driver->dev_type, &g_blk_device_type, sizeof(struct hv_guid));