diff options
author | J. German Rivera <German.Rivera@freescale.com> | 2015-03-27 16:01:04 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 13:55:03 +0200 |
commit | 77371fbd440f482bc6f092d8a33d141f45dc3b70 (patch) | |
tree | bb12e5d408e7d3658a5b16ebf50f849dd503f84d /drivers/staging | |
parent | f30a746bec5507d9781e876626d4bba7f5ab0c8e (diff) | |
download | op-kernel-dev-77371fbd440f482bc6f092d8a33d141f45dc3b70.zip op-kernel-dev-77371fbd440f482bc6f092d8a33d141f45dc3b70.tar.gz |
staging: fsl-mc: Name MC object devices using decimal numbers
MC object devices were being named using hexadecimaal numbers.
This was not consistent with the object naming conventions used
by MC DPLs and the MC restool.
Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/fsl-mc/bus/mc-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fsl-mc/bus/mc-bus.c b/drivers/staging/fsl-mc/bus/mc-bus.c index b4e9022..de15fa9 100644 --- a/drivers/staging/fsl-mc/bus/mc-bus.c +++ b/drivers/staging/fsl-mc/bus/mc-bus.c @@ -333,7 +333,7 @@ int fsl_mc_device_add(struct dprc_obj_desc *obj_desc, device_initialize(&mc_dev->dev); mc_dev->dev.parent = parent_dev; mc_dev->dev.bus = &fsl_mc_bus_type; - dev_set_name(&mc_dev->dev, "%s.%x", obj_desc->type, obj_desc->id); + dev_set_name(&mc_dev->dev, "%s.%d", obj_desc->type, obj_desc->id); if (strcmp(obj_desc->type, "dprc") == 0) { struct fsl_mc_io *mc_io2; |