net: mvneta: Disable fixed PHY code if PHY_FIXED is not compiled in
authorMarek Behún <marek.behun@nic.cz>
Wed, 27 Apr 2022 10:42:01 +0000 (12:42 +0200)
committerStefan Roese <sr@denx.de>
Wed, 4 May 2022 05:05:51 +0000 (07:05 +0200)
commitbdbda1e82667addb256ef7ee11718615e350c697
tree9c1856404693511bc09ce3605b6aae9cf1b3ad40
parent38332211e3007ec18b66d9bcd4d56338953d88ab
net: mvneta: Disable fixed PHY code if PHY_FIXED is not compiled in

Guard the code handling the fixed PHY case by
CONFIG_IS_ENABLED(PHY_FIXED).

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/net/mvneta.c