mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
genirq/msi: Move descriptor list to struct msi_device_data
It's only required when MSI is in use. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Michael Kelley <mikelley@microsoft.com> Tested-by: Nishanth Menon <nm@ti.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20211206210747.650487479@linutronix.de
This commit is contained in:
@@ -423,7 +423,6 @@ struct dev_msi_info {
|
||||
* @pins: For device pin management.
|
||||
* See Documentation/driver-api/pin-control.rst for details.
|
||||
* @msi: MSI related data
|
||||
* @msi_list: Hosts MSI descriptors
|
||||
* @numa_node: NUMA node this device is close to.
|
||||
* @dma_ops: DMA mapping operations for this device.
|
||||
* @dma_mask: Dma mask (if dma'ble device).
|
||||
@@ -519,9 +518,6 @@ struct device {
|
||||
struct dev_pin_info *pins;
|
||||
#endif
|
||||
struct dev_msi_info msi;
|
||||
#ifdef CONFIG_GENERIC_MSI_IRQ
|
||||
struct list_head msi_list;
|
||||
#endif
|
||||
#ifdef CONFIG_DMA_OPS
|
||||
const struct dma_map_ops *dma_ops;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user