PCI/MSI: Protect msi_desc::masked for multi-MSI
[platform/kernel/linux-rpi.git] / include / linux / device.h
index 59940f1..e53aa50 100644 (file)
@@ -506,6 +506,7 @@ struct device {
        struct dev_pin_info     *pins;
 #endif
 #ifdef CONFIG_GENERIC_MSI_IRQ
+       raw_spinlock_t          msi_lock;
        struct list_head        msi_list;
 #endif
 #ifdef CONFIG_DMA_OPS