commit | b6bb4dfcb1803765e7d12a9807a8d4650545199a | [log] [tgz] |
---|---|---|
author | Hector Palacios <hector.palacios@digi.com> | Sun Mar 10 22:50:03 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 12 06:50:59 2013 -0400 |
tree | 85ad7923c17535647cfd736a0d01b62bb642c244 | |
parent | b818d1a7f72575eef17e00dc4085512c9cc8897d [diff] |
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: Hector Palacios <hector.palacios@digi.com> Signed-off-by: David S. Miller <davem@davemloft.net>