Skip to content
Commit 50313c85 authored by Calvin Johnson's avatar Calvin Johnson Committed by Meng Li
Browse files

net/fsl: Use [acpi|of]_mdiobus_register

commit ef6e458a551fa9c1c6998ec58e2680f565f18563 from
git://source.codeaurora.org/external/qoriq/qoriq-components/linux



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: default avatarCalvin Johnson <calvin.johnson@oss.nxp.com>
Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
Acked-by: default avatarGrant Likely <grant.likely@arm.com>
(cherry picked from commit f8c0bb8eabc23f6acd22fc6ebce6800b163955f2)
Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
parent 6120fecb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment