treewide: Use helper function to access irq_data->msi_desc
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / sysdev / xics / ics-opal.c
index 68c7e5cc98e09c3175b7e7ade03734887bc5c805..11ac964d51752f3ce4c55a9953b02e0ee9936e08 100644 (file)
@@ -72,7 +72,7 @@ static unsigned int ics_opal_startup(struct irq_data *d)
         * card, using the MSI mask bits. Firmware doesn't appear to unmask
         * at that level, so we do it here by hand.
         */
-       if (d->msi_desc)
+       if (irq_data_get_msi_desc(d))
                pci_msi_unmask_irq(d);
 #endif