Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248926
b: refs/heads/master
c: 834702f
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Apr 5, 2011
1 parent cc40b2d commit 6fe6bfe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 86762a5bd908499e3936c9c765184d3f4c0d069e
refs/heads/master: 834702f82ab8fe1ea5de5e464764d5ca2d326dbd
8 changes: 4 additions & 4 deletions trunk/drivers/staging/hv/blkvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ static int blk_vsc_on_device_add(struct hv_device *device,
}


int blk_vsc_initialize(struct hv_driver *driver)
static int blk_vsc_initialize(struct hv_driver *driver)
{
struct storvsc_driver_object *stor_driver;
int ret = 0;
Expand Down Expand Up @@ -244,7 +244,7 @@ static const struct block_device_operations block_ops = {
/*
* blkvsc_drv_init - BlkVsc driver initialization.
*/
static int blkvsc_drv_init(int (*drv_init)(struct hv_driver *drv))
static int blkvsc_drv_init(void)
{
struct storvsc_driver_object *storvsc_drv_obj = &g_blkvsc_drv;
struct hv_driver *drv = &g_blkvsc_drv.base;
Expand All @@ -255,7 +255,7 @@ static int blkvsc_drv_init(int (*drv_init)(struct hv_driver *drv))
drv->priv = storvsc_drv_obj;

/* Callback to client driver to complete the initialization */
drv_init(&storvsc_drv_obj->base);
blk_vsc_initialize(&storvsc_drv_obj->base);

drv->driver.name = storvsc_drv_obj->base.name;

Expand Down Expand Up @@ -1555,7 +1555,7 @@ static int __init blkvsc_init(void)

DPRINT_INFO(BLKVSC_DRV, "Blkvsc initializing....");

ret = blkvsc_drv_init(blk_vsc_initialize);
ret = blkvsc_drv_init();

return ret;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/hv/storvsc_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ struct storvsc_device {

/* Interface */
int stor_vsc_on_host_reset(struct hv_device *device);
int blk_vsc_initialize(struct hv_driver *driver);

int stor_vsc_on_device_add(struct hv_device *device,
void *additional_info);
Expand Down

0 comments on commit 6fe6bfe

Please sign in to comment.