[patch 3/5] hv: pass integer to tasklet_init()

Olaf Hering
2011-04-16T16:51:25Z

[-- Attachment #1: bug679942-tasklet_init.patch --]
[-- Type: text/plain, Size: 910 bytes --]

tasklet_init() takes an integer, so use one right away.

Signed-off-by: Olaf Hering <olaf@aepfle.de>

---
compile tested

drivers/staging/hv/vmbus_drv.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)

Index: linux-next/drivers/staging/hv/vmbus_drv.c
===================================================================
--- linux-next.orig/drivers/staging/hv/vmbus_drv.c
+++ linux-next/drivers/staging/hv/vmbus_drv.c
@@ -578,10 +578,8 @@ static int vmbus_bus_init(struct pci_dev
hv_bus.bus.name = driver_name;

/* Initialize the bus context */
- tasklet_init(&hv_bus.msg_dpc, vmbus_on_msg_dpc,
- (unsigned long)NULL);
- tasklet_init(&hv_bus.event_dpc, vmbus_on_event,
- (unsigned long)NULL);
+ tasklet_init(&hv_bus.msg_dpc, vmbus_on_msg_dpc, 0);
+ tasklet_init(&hv_bus.event_dpc, vmbus_on_event, 0);

/* Now, register the bus with LDM */
ret = bus_register(&hv_bus.bus);