aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authoradam radford <aradford@gmail.com>2011-02-24 23:57:00 -0500
committerJames Bottomley <James.Bottomley@suse.de>2011-02-28 13:00:35 -0500
commitf86c5424b02717a9eb9b1049a67ff3e7e9e92edf (patch)
treec52b155a90d70d289c19d8fe7fffbf8bbf39b7c1 /drivers/scsi
parent4c598b23807a3bf0e4f7e65f7934965acc47e1b9 (diff)
[SCSI] megaraid_sas: Fix tasklet_init call
The following patch fixes an incorrect tasklet_init() call in megasas_init_fw() to use instancet->tasklet. Signed-off-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index 1789a1c13085..22ec9f049181 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -3544,7 +3544,7 @@ static int megasas_init_fw(struct megasas_instance *instance)
3544 * Setup tasklet for cmd completion 3544 * Setup tasklet for cmd completion
3545 */ 3545 */
3546 3546
3547 tasklet_init(&instance->isr_tasklet, megasas_complete_cmd_dpc, 3547 tasklet_init(&instance->isr_tasklet, instance->instancet->tasklet,
3548 (unsigned long)instance); 3548 (unsigned long)instance);
3549 3549
3550 /* Initialize the cmd completion timer */ 3550 /* Initialize the cmd completion timer */