]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: cosmetics: enforce const-ness in ethtool_cmd_speed
authorDavid Decotigny <decot@google.com>
Wed, 27 Apr 2011 18:32:37 +0000 (18:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Apr 2011 21:01:29 +0000 (14:01 -0700)
commit31b984fac56f5f43246025765bf2177051707a37
tree3bf2de6d3e789fe8eb1b9ced0d796861b0310175
parent25466ce9fd253f51de5e809bef55158b7c65cc31
ethtool: cosmetics: enforce const-ness in ethtool_cmd_speed

The 'ep' argument of ethtool_cmd_speed is not altered: advertise it in
protoype. +Indentation fix. Also add comments to advise using the
ethtool_cmd_speed API to get/set the link speed.

Signed-off-by: David Decotigny <decot@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ethtool.h