summaryrefslogtreecommitdiff
path: root/drivers/staging/fsl-mc
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-26 14:50:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-26 14:50:58 +0300
commit3943749bc4518645c9440ed206f7e44038234f37 (patch)
treec9529c5dc2e15fcef8af6e4da3b998509093fbf3 /drivers/staging/fsl-mc
parent2f81d686ad91d6ad4a2818a657500c80962cf25f (diff)
downloadlinux-3943749bc4518645c9440ed206f7e44038234f37.tar.xz
Revert "staging: fsl-mc: move irq domain creation prototype to public header"
This reverts commit b32cdde14edec1c75a2190a39e810bf41fa29a7a. The whole series is broken, so back it all out. Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: Laurentiu Tudor <laurentiu.tudor@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fsl-mc')
-rw-r--r--drivers/staging/fsl-mc/include/mc-bus.h7
-rw-r--r--drivers/staging/fsl-mc/include/mc.h7
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/fsl-mc/include/mc-bus.h b/drivers/staging/fsl-mc/include/mc-bus.h
index 0860681bddc6..c1df43357c56 100644
--- a/drivers/staging/fsl-mc/include/mc-bus.h
+++ b/drivers/staging/fsl-mc/include/mc-bus.h
@@ -14,6 +14,9 @@
#include "../include/mc.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'
* IRQ pool
@@ -67,6 +70,10 @@ struct fsl_mc_bus {
#define to_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,
struct irq_domain **mc_msi_domain);
diff --git a/drivers/staging/fsl-mc/include/mc.h b/drivers/staging/fsl-mc/include/mc.h
index adb237845b40..60c706720531 100644
--- a/drivers/staging/fsl-mc/include/mc.h
+++ b/drivers/staging/fsl-mc/include/mc.h
@@ -18,9 +18,6 @@
#define FSL_MC_VENDOR_FREESCALE 0x1957
-struct irq_domain;
-struct msi_domain_info;
-
struct fsl_mc_device;
struct fsl_mc_io;
@@ -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);
-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);
void fsl_mc_free_irqs(struct fsl_mc_device *mc_dev);