Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228261
b: refs/heads/master
c: 6c88455
h: refs/heads/master
i:
  228259: 31fb272
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Dec 2, 2010
1 parent 670701a commit 91b7af4
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: 36199a992aba4f3ea1bc0430f04655e99010a65d
refs/heads/master: 6c884555f23d0c73f7e71ce977ee4dd882532c0f
1 change: 0 additions & 1 deletion trunk/drivers/staging/hv/vmbus_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ struct hv_device {
void *Extension;
};

int VmbusInitialize(struct hv_driver *drv);
int vmbus_on_isr(struct hv_driver *drv);
void vmbus_on_msg_dpc(struct hv_driver *drv);
void vmbus_on_event_dpc(struct hv_driver *drv);
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/staging/hv/vmbus_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ int vmbus_on_isr(struct hv_driver *drv)
/*
* VmbusInitialize - Main entry point
*/
int VmbusInitialize(struct hv_driver *driver)
static int VmbusInitialize(struct hv_driver *driver)
{
int ret;

Expand Down Expand Up @@ -491,7 +491,7 @@ static ssize_t vmbus_show_device_attr(struct device *dev,
* - setup the vmbus root device
* - retrieve the channel offers
*/
static int vmbus_bus_init(int (*drv_init)(struct hv_driver *drv))
static int vmbus_bus_init(void)
{
struct vmbus_driver_context *vmbus_drv_ctx = &g_vmbus_drv;
struct hv_driver *driver = &g_vmbus_drv.drv_obj;
Expand All @@ -500,7 +500,7 @@ static int vmbus_bus_init(int (*drv_init)(struct hv_driver *drv))
unsigned int vector;

/* Call to bus driver to initialize */
ret = drv_init(driver);
ret = VmbusInitialize(driver);
if (ret != 0) {
DPRINT_ERR(VMBUS_DRV, "Unable to initialize vmbus (%d)", ret);
goto cleanup;
Expand Down Expand Up @@ -1107,7 +1107,7 @@ static int __init vmbus_init(void)
if (!dmi_check_system(microsoft_hv_dmi_table))
return -ENODEV;

return vmbus_bus_init(VmbusInitialize);
return vmbus_bus_init();
}

static void __exit vmbus_exit(void)
Expand Down

0 comments on commit 91b7af4

Please sign in to comment.