The dev_root field in the bus type struct has been replaced by a
new mechanism to identify the root dprc. Remove all references
to dev_root.
Signed-off-by: Itai Katz <itai.katz@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
mc_io2 = mc_io;
- if (!fsl_mc_bus_exists())
- fsl_mc_bus_type.dev_root = &mc_dev->dev;
-
atomic_inc(&root_dprc_count);
}
}
if (fsl_mc_is_root_dprc(&mc_dev->dev)) {
- fsl_mc_bus_type.dev_root = NULL;
if (atomic_read(&root_dprc_count) > 0)
atomic_dec(&root_dprc_count);
else