Skip to content
Snippets Groups Projects
Commit b6bb4dfc authored by Hector Palacios's avatar Hector Palacios Committed by David S. Miller
Browse files

phy/micrel: move flag handling to function for common use


The flag MICREL_PHY_50MHZ_CLK is not of exclusive use of KSZ8051
model. At least KSZ8021 and KSZ8031 models also use it.
This patch moves the handling of this and future flags to a
separate function so that the different PHY models can call it on
their init function, if needed.

Signed-off-by: default avatarHector Palacios <hector.palacios@digi.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b818d1a7
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment