mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
PCI/MSI: Move msi_lock to struct pci_dev
It's only required for PCI/MSI. So no point in having it in every struct device. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://lore.kernel.org/r/20211206210224.925241961@linutronix.de
This commit is contained in:
@@ -407,7 +407,6 @@ struct dev_links_info {
|
||||
* @em_pd: device's energy model performance domain
|
||||
* @pins: For device pin management.
|
||||
* See Documentation/driver-api/pin-control.rst for details.
|
||||
* @msi_lock: Lock to protect MSI mask cache and mask register
|
||||
* @msi_list: Hosts MSI descriptors
|
||||
* @msi_domain: The generic MSI domain this device is using.
|
||||
* @numa_node: NUMA node this device is close to.
|
||||
@@ -508,7 +507,6 @@ 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
|
||||
|
Reference in New Issue
Block a user