projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3543648
)
hv: pass integer to tasklet_init()
author
Olaf Hering
<olaf@aepfle.de>
Sat, 16 Apr 2011 16:50:41 +0000
(18:50 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 20 Apr 2011 20:40:34 +0000
(13:40 -0700)
tasklet_init() takes an integer, so use one right away.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/hv/vmbus_drv.c
b/drivers/staging/hv/vmbus_drv.c
index c944450c6f09996e947a57907b2d7cec01581248..8516f4377cfacc5afef54924ecb01ed1ce13d2ea 100644
(file)
--- a/
drivers/staging/hv/vmbus_drv.c
+++ b/
drivers/staging/hv/vmbus_drv.c
@@
-578,10
+578,8
@@
static int vmbus_bus_init(struct pci_dev *pdev)
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);