Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 550308e4 authored by J. German Rivera's avatar J. German Rivera Committed by Greg Kroah-Hartman
Browse files

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: default avatarJ. German Rivera <German.Rivera@freescale.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9b1b282c
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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;
	};
};