From: Stuart Yoder Date: Tue, 23 Aug 2016 22:13:35 +0000 (-0500) Subject: staging: fsl-mc: move dprc-driver private definitions out of mc-bus.h X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2b0011d2bf5924f1509903f15bcb3359521c42bb;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 #include -#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;