summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Yoder <stuart.yoder@nxp.com>2016-08-23 17:13:35 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-01 17:57:25 +0200
commit2b0011d2bf5924f1509903f15bcb3359521c42bb (patch)
tree7a271d3b3fd3657e8df5106f31648c2b44d5b0c3
parent243444fb8cc0d066be81aee379f450a111f05dbd (diff)
staging: fsl-mc: move dprc-driver private definitions out of mc-bus.h
Move definitions that are private to dprc-driver.c out of the public mc-bus.h header. Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/fsl-mc/bus/dprc-driver.c6
-rw-r--r--drivers/staging/fsl-mc/include/mc-bus.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/fsl-mc/bus/dprc-driver.c b/drivers/staging/fsl-mc/bus/dprc-driver.c
index 576244bc18b8..5e347203161a 100644
--- a/drivers/staging/fsl-mc/bus/dprc-driver.c
+++ b/drivers/staging/fsl-mc/bus/dprc-driver.c
@@ -18,6 +18,12 @@
#include "dprc-cmd.h"
#include "fsl-mc-private.h"
+#define FSL_MC_DPRC_DRIVER_NAME "fsl_mc_dprc"
+
+#define FSL_MC_DEVICE_MATCH(_mc_dev, _obj_desc) \
+ (strcmp((_mc_dev)->obj_desc.type, (_obj_desc)->type) == 0 && \
+ (_mc_dev)->obj_desc.id == (_obj_desc)->id)
+
struct dprc_child_objs {
int child_count;
struct dprc_obj_desc *child_array;
diff --git a/drivers/staging/fsl-mc/include/mc-bus.h b/drivers/staging/fsl-mc/include/mc-bus.h
index 8a32e557cd1d..3f8050655047 100644
--- a/drivers/staging/fsl-mc/include/mc-bus.h
+++ b/drivers/staging/fsl-mc/include/mc-bus.h
@@ -15,12 +15,6 @@
#include <linux/mutex.h>
#include <linux/stringify.h>
-#define FSL_MC_DPRC_DRIVER_NAME "fsl_mc_dprc"
-
-#define FSL_MC_DEVICE_MATCH(_mc_dev, _obj_desc) \
- (strcmp((_mc_dev)->obj_desc.type, (_obj_desc)->type) == 0 && \
- (_mc_dev)->obj_desc.id == (_obj_desc)->id)
-
struct irq_domain;
struct msi_domain_info;