net: ethtool: export conversion function between u32 and link mode
authorPhilippe Reynes <tremyfr@gmail.com>
Thu, 14 Apr 2016 22:34:59 +0000 (00:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Apr 2016 18:45:08 +0000 (14:45 -0400)
commit6d62b4d5fac620ee0ca65dc6d99b0306d96bc541
tree3cd05429d28f63fbe2ddfa3860cf39be5485d0cb
parent2a2bbf170054e2525f11e08bb36d4027d76b7bff
net: ethtool: export conversion function between u32 and link mode

The function convert_legacy_u32_to_link_mode and
convert_link_mode_to_legacy_u32 may be used outside
of ethtool.c. We rename them to ethtool_convert_...
and export them, so we could use them in others
drivers and modules.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ethtool.h
net/core/ethtool.c