summaryrefslogtreecommitdiffstats
path: root/include/linux/msi.h
diff options
context:
space:
mode:
authorJ. German Rivera <German.Rivera@freescale.com>2016-01-06 16:03:20 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-07 19:10:12 -0800
commit550308e48cddbc2aa74f7236941b17b55b2e78e9 (patch)
treeb612b1851e494adc3888d03d62adbbf49df03803 /include/linux/msi.h
parent9b1b282ccd8195e3264dbb3cd15b9d60b6345230 (diff)
downloadop-kernel-dev-550308e48cddbc2aa74f7236941b17b55b2e78e9.zip
op-kernel-dev-550308e48cddbc2aa74f7236941b17b55b2e78e9.tar.gz
fsl-mc: msi: Added FSL-MC-specific member to the msi_desc's union
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>
Diffstat (limited to 'include/linux/msi.h')
-rw-r--r--include/linux/msi.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/msi.h b/include/linux/msi.h
index a2a0068..8b425c6 100644
--- a/include/linux/msi.h
+++ b/include/linux/msi.h
@@ -33,6 +33,14 @@ struct platform_msi_desc {
};
/**
+ * 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
* @irq: The base interrupt number
@@ -87,6 +95,7 @@ struct msi_desc {
* tree wide cleanup.
*/
struct platform_msi_desc platform;
+ struct fsl_mc_msi_desc fsl_mc;
};
};
OpenPOWER on IntegriCloud