phy/micrel: move flag handling to function for common use
authorHector Palacios <hector.palacios@digi.com>
Sun, 10 Mar 2013 22:50:03 +0000 (22:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Mar 2013 10:50:59 +0000 (06:50 -0400)
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: Hector Palacios <hector.palacios@digi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found