summaryrefslogtreecommitdiff
path: root/net/atm
diff options
context:
space:
mode:
authorPetri Gynther <pgynther@google.com>2014-10-06 18:38:30 (GMT)
committerDavid S. Miller <davem@davemloft.net>2014-10-07 17:06:45 (GMT)
commitfd2ef0ba3071c92ac6272ab22ea3f2b16d88a4eb (patch)
treee9d32e03bc599e39fb55b1b79269cbc08ae3ba20 /net/atm
parent02c0fc1b8f41e6e895d6573615ba8ff549b685d2 (diff)
downloadlinux-fd2ef0ba3071c92ac6272ab22ea3f2b16d88a4eb.tar.xz
net: phy: adjust fixed_phy_register() return value
Adjust fixed_phy_register() to return struct phy_device *, so that it becomes easy to use fixed PHYs without device tree support: phydev = fixed_phy_register(PHY_POLL, &fixed_phy_status, NULL); fixed_phy_set_link_update(phydev, fixed_phy_link_update); phy_connect_direct(netdev, phydev, handler_fn, phy_interface); This change is a prerequisite for modifying bcmgenet driver to work without a device tree on Broadcom's MIPS-based 7xxx platforms. Signed-off-by: Petri Gynther <pgynther@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions