Skip to content
Commit ce0b15d1 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller
Browse files

xgbe: constify get_netdev_ops and get_ethtool_ops



Casting away const is bad practice. Since this is ARM specific driver
don't have hardware actually test this.

Having getter functions for ops is really unnecessary code bloat, but
not going to touch that.

Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 07469f8c
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