staging: fsl-mc: decouple the mc-bus public headers from dprc.h
commitc6ce019edb0c9c09b8150011d4f66181952631e9
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Thu, 22 Jun 2017 13:35:49 +0000 (22 16:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jun 2017 16:44:00 +0000 (23 18:44 +0200)
tree585701409e01de40b9e72d0d4b8cfdce150b4cdf
parentbb4a64b79f3b9973316e775f6c2910a98b6a562a
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>
drivers/staging/fsl-mc/bus/dprc-driver.c
drivers/staging/fsl-mc/bus/dprc.c
drivers/staging/fsl-mc/bus/fsl-mc-bus.c
drivers/staging/fsl-mc/bus/fsl-mc-private.h
drivers/staging/fsl-mc/include/dprc.h
drivers/staging/fsl-mc/include/mc.h