Commit 3943749b authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Revert "staging: fsl-mc: move irq domain creation prototype to public header"

This reverts commit b32cdde1.

The whole series is broken, so back it all out.
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Cc: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2f81d686
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
#include "../include/mc.h" #include "../include/mc.h"
#include <linux/mutex.h> #include <linux/mutex.h>
struct irq_domain;
struct msi_domain_info;
/** /**
* Maximum number of total IRQs that can be pre-allocated for an MC bus' * Maximum number of total IRQs that can be pre-allocated for an MC bus'
* IRQ pool * IRQ pool
...@@ -67,6 +70,10 @@ struct fsl_mc_bus { ...@@ -67,6 +70,10 @@ struct fsl_mc_bus {
#define to_fsl_mc_bus(_mc_dev) \ #define to_fsl_mc_bus(_mc_dev) \
container_of(_mc_dev, struct fsl_mc_bus, mc_dev) container_of(_mc_dev, struct fsl_mc_bus, mc_dev)
struct irq_domain *fsl_mc_msi_create_irq_domain(struct fwnode_handle *fwnode,
struct msi_domain_info *info,
struct irq_domain *parent);
int fsl_mc_find_msi_domain(struct device *mc_platform_dev, int fsl_mc_find_msi_domain(struct device *mc_platform_dev,
struct irq_domain **mc_msi_domain); struct irq_domain **mc_msi_domain);
......
...@@ -18,9 +18,6 @@ ...@@ -18,9 +18,6 @@
#define FSL_MC_VENDOR_FREESCALE 0x1957 #define FSL_MC_VENDOR_FREESCALE 0x1957
struct irq_domain;
struct msi_domain_info;
struct fsl_mc_device; struct fsl_mc_device;
struct fsl_mc_io; struct fsl_mc_io;
...@@ -236,10 +233,6 @@ int __must_check fsl_mc_object_allocate(struct fsl_mc_device *mc_dev, ...@@ -236,10 +233,6 @@ int __must_check fsl_mc_object_allocate(struct fsl_mc_device *mc_dev,
void fsl_mc_object_free(struct fsl_mc_device *mc_adev); void fsl_mc_object_free(struct fsl_mc_device *mc_adev);
struct irq_domain *fsl_mc_msi_create_irq_domain(struct fwnode_handle *fwnode,
struct msi_domain_info *info,
struct irq_domain *parent);
int __must_check fsl_mc_allocate_irqs(struct fsl_mc_device *mc_dev); int __must_check fsl_mc_allocate_irqs(struct fsl_mc_device *mc_dev);
void fsl_mc_free_irqs(struct fsl_mc_device *mc_dev); void fsl_mc_free_irqs(struct fsl_mc_device *mc_dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment