Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

Acked-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20210208170949.3070898-3-ciorneiioana@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ioana Ciornei and committed by
Greg Kroah-Hartman
e70ba1b0 ef0fec22

+6
+6
drivers/bus/fsl-mc/fsl-mc-bus.c
··· 388 388 }; 389 389 EXPORT_SYMBOL_GPL(fsl_mc_bus_dpdmai_type); 390 390 391 + struct device_type fsl_mc_bus_dpdbg_type = { 392 + .name = "fsl_mc_bus_dpdbg" 393 + }; 394 + EXPORT_SYMBOL_GPL(fsl_mc_bus_dpdbg_type); 395 + 391 396 static struct device_type *fsl_mc_get_device_type(const char *type) 392 397 { 393 398 static const struct { ··· 414 409 { &fsl_mc_bus_dpaiop_type, "dpaiop" }, 415 410 { &fsl_mc_bus_dpci_type, "dpci" }, 416 411 { &fsl_mc_bus_dpdmai_type, "dpdmai" }, 412 + { &fsl_mc_bus_dpdbg_type, "dpdbg" }, 417 413 { NULL, NULL } 418 414 }; 419 415 int i;