summaryrefslogtreecommitdiffstats
path: root/drivers/staging/fsl-mc/bus/dprc.c
diff options
context:
space:
mode:
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>2017-06-22 16:35:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-23 18:44:00 +0200
commitc6ce019edb0c9c09b8150011d4f66181952631e9 (patch)
tree585701409e01de40b9e72d0d4b8cfdce150b4cdf /drivers/staging/fsl-mc/bus/dprc.c
parentbb4a64b79f3b9973316e775f6c2910a98b6a562a (diff)
downloadlinux-stable-c6ce019edb0c9c09b8150011d4f66181952631e9.tar.gz
linux-stable-c6ce019edb0c9c09b8150011d4f66181952631e9.tar.bz2
linux-stable-c6ce019edb0c9c09b8150011d4f66181952631e9.zip
staging: fsl-mc: decouple the mc-bus public headers from dprc.h
In its current form, the public headers of the mc-bus depend only on a structure "dprc_obj_desc" defined in dprc.h. Move it to the bus public header together with its associated defines and, in order to keep the naming prefixes consistent rename it to "fsl_mc_obj_desc". This will allow making dprc.h private in future patches. Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fsl-mc/bus/dprc.c')
-rw-r--r--drivers/staging/fsl-mc/bus/dprc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/fsl-mc/bus/dprc.c b/drivers/staging/fsl-mc/bus/dprc.c
index fcf7b4767dc0..a47f31d5ffe6 100644
--- a/drivers/staging/fsl-mc/bus/dprc.c
+++ b/drivers/staging/fsl-mc/bus/dprc.c
@@ -29,6 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
+#include "../include/mc.h"
#include "../include/mc-sys.h"
#include "../include/mc-cmd.h"
#include "../include/dprc.h"
@@ -496,7 +497,7 @@ int dprc_get_obj(struct fsl_mc_io *mc_io,
u32 cmd_flags,
u16 token,
int obj_index,
- struct dprc_obj_desc *obj_desc)
+ struct fsl_mc_obj_desc *obj_desc)
{
struct mc_command cmd = { 0 };
struct dprc_cmd_get_obj *cmd_params;