bus: fsl-mc: add the dpdbg device type
A new object type was recently added in MC. This has to be added in the fsl-mc bus device type list so that it can be properly listed. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Reviewed-by: Madalin Bucur <madalin.bucur@nxp.com>5.4-rM2-2.2.x-imx-squashed
parent
7ec1ff2b8a
commit
9fbd0e79d6
|
@ -369,6 +369,10 @@ struct device_type fsl_mc_bus_dpdmai_type = {
|
|||
.name = "fsl_mc_bus_dpdmai"
|
||||
};
|
||||
|
||||
struct device_type fsl_mc_bus_dpdbg_type = {
|
||||
.name = "fsl_mc_bus_dpdbg"
|
||||
};
|
||||
|
||||
static struct device_type *fsl_mc_get_device_type(const char *type)
|
||||
{
|
||||
static const struct {
|
||||
|
@ -390,6 +394,7 @@ static struct device_type *fsl_mc_get_device_type(const char *type)
|
|||
{ &fsl_mc_bus_dpaiop_type, "dpaiop" },
|
||||
{ &fsl_mc_bus_dpci_type, "dpci" },
|
||||
{ &fsl_mc_bus_dpdmai_type, "dpdmai" },
|
||||
{ &fsl_mc_bus_dpdbg_type, "dpdbg" },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
int i;
|
||||
|
|
Loading…
Reference in New Issue