Skip to content
Commit f961b3ab authored by Marek Behún's avatar Marek Behún Committed by Ramon Fried
Browse files

net: phy: xilinx: Check interface type in ->config(), not ->probe()



We want to be able to have phydev->interface uninitialized during
->probe(). We should assume that phydev->interface is initialized only
before ->config().

Signed-off-by: default avatarMarek Behún <marek.behun@nic.cz>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
parent c677fb1e
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