]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fsl-mc: msi: Added FSL-MC-specific member to the msi_desc's union
authorJ. German Rivera <German.Rivera@freescale.com>
Wed, 6 Jan 2016 22:03:20 +0000 (16:03 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 03:10:12 +0000 (19:10 -0800)
FSL-MC is a bus type different from PCI and platform, so it needs
its own member in the msi_desc's union.

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/msi.h

index a2a0068a8387184eb65045f5597b99a410083f4c..8b425c66305ad3f1a518fe643a5b2ffe93b3278d 100644 (file)
@@ -32,6 +32,14 @@ struct platform_msi_desc {
        u16                             msi_index;
 };
 
+/**
+ * fsl_mc_msi_desc - FSL-MC device specific msi descriptor data
+ * @msi_index:         The index of the MSI descriptor
+ */
+struct fsl_mc_msi_desc {
+       u16                             msi_index;
+};
+
 /**
  * struct msi_desc - Descriptor structure for MSI based interrupts
  * @list:      List head for management
@@ -87,6 +95,7 @@ struct msi_desc {
                 * tree wide cleanup.
                 */
                struct platform_msi_desc platform;
+               struct fsl_mc_msi_desc fsl_mc;
        };
 };