treewide: Use helper function to access irq_data->msi_desc
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / sysdev / xics / ics-rtas.c
index 0af97deb83f31db04c1d2f33612529a923c76a8a..d1c625c4cc5a4081686f2c83f7d2f0a51dbdd53e 100644 (file)
@@ -75,7 +75,7 @@ static unsigned int ics_rtas_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
        /* unmask it */