net/fsl: Use [acpi|of]_mdiobus_register
Depending on the device node type, call the specific OF or ACPI mdiobus_register function. Note: For both ACPI and DT cases, endianness of MDIO controllers need to be specified using the "little-endian" property. Signed-off-by: NCalvin Johnson <calvin.johnson@oss.nxp.com> Signed-off-by: NIoana Ciornei <ioana.ciornei@nxp.com> Acked-by: NGrant Likely <grant.likely@arm.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录