diff options
Diffstat (limited to 'arch/powerpc/sysdev/fsl_msi.c')
-rw-r--r-- | arch/powerpc/sysdev/fsl_msi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c index 44cbf4c12ea1..df95102e732c 100644 --- a/arch/powerpc/sysdev/fsl_msi.c +++ b/arch/powerpc/sysdev/fsl_msi.c | |||
@@ -354,6 +354,7 @@ static int fsl_of_msi_remove(struct platform_device *ofdev) | |||
354 | } | 354 | } |
355 | 355 | ||
356 | static struct lock_class_key fsl_msi_irq_class; | 356 | static struct lock_class_key fsl_msi_irq_class; |
357 | static struct lock_class_key fsl_msi_irq_request_class; | ||
357 | 358 | ||
358 | static int fsl_msi_setup_hwirq(struct fsl_msi *msi, struct platform_device *dev, | 359 | static int fsl_msi_setup_hwirq(struct fsl_msi *msi, struct platform_device *dev, |
359 | int offset, int irq_index) | 360 | int offset, int irq_index) |
@@ -373,7 +374,8 @@ static int fsl_msi_setup_hwirq(struct fsl_msi *msi, struct platform_device *dev, | |||
373 | dev_err(&dev->dev, "No memory for MSI cascade data\n"); | 374 | dev_err(&dev->dev, "No memory for MSI cascade data\n"); |
374 | return -ENOMEM; | 375 | return -ENOMEM; |
375 | } | 376 | } |
376 | irq_set_lockdep_class(virt_msir, &fsl_msi_irq_class); | 377 | irq_set_lockdep_class(virt_msir, &fsl_msi_irq_class, |
378 | &fsl_msi_irq_request_class); | ||
377 | cascade_data->index = offset; | 379 | cascade_data->index = offset; |
378 | cascade_data->msi_data = msi; | 380 | cascade_data->msi_data = msi; |
379 | cascade_data->virq = virt_msir; | 381 | cascade_data->virq = virt_msir; |