powerpc: fsl/fman: remove fsl,fman from of_device_ids[]
The fsl/fman drivers will use of_platform_populate() on all supported platforms. Call of_platform_populate() to probe the FMan sub-nodes. Signed-off-by: Igal Liberman <igal.liberman@freescale.com> Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com> Acked-by: Scott Wood <oss@buserror.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
606987b04e
Коммит
ae6021d4fc
|
@ -117,9 +117,6 @@ static const struct of_device_id of_device_ids[] = {
|
|||
{
|
||||
.compatible = "fsl,qe",
|
||||
},
|
||||
{
|
||||
.compatible = "fsl,fman",
|
||||
},
|
||||
/* The following two are for the Freescale hypervisor */
|
||||
{
|
||||
.name = "hypervisor",
|
||||
|
|
|
@ -2868,6 +2868,13 @@ static struct fman *read_dts_node(struct platform_device *of_dev)
|
|||
|
||||
fman->dev = &of_dev->dev;
|
||||
|
||||
err = of_platform_populate(fm_node, NULL, NULL, &of_dev->dev);
|
||||
if (err) {
|
||||
dev_err(&of_dev->dev, "%s: of_platform_populate() failed\n",
|
||||
__func__);
|
||||
goto fman_free;
|
||||
}
|
||||
|
||||
return fman;
|
||||
|
||||
fman_node_put:
|
||||
|
|
Загрузка…
Ссылка в новой задаче