diff options
author | Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com> | 2012-01-13 08:06:32 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-17 15:04:43 (GMT) |
commit | 1886e5d2c694e7fb59434c717e704e7fd8475d2e (patch) | |
tree | 1b2bde28f644bc2178b0eb0d842cc3d40e812a3a /drivers/net/ethernet/ibm/ehea/ehea_ethtool.c | |
parent | be94db9ddac0d6ea76f479b04fb3a43314654c9f (diff) | |
download | linux-fsl-qoriq-1886e5d2c694e7fb59434c717e704e7fd8475d2e.tar.xz |
ehea: make some functions and variables static
Some functions and variables in ehea are only used in their own file, so
they should be static. One particular function had a very generic name,
print_error_data.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm/ehea/ehea_ethtool.c')
-rw-r--r-- | drivers/net/ethernet/ibm/ehea/ehea_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ibm/ehea/ehea_ethtool.c b/drivers/net/ethernet/ibm/ehea/ehea_ethtool.c index 05b7359..6bdd8e3 100644 --- a/drivers/net/ethernet/ibm/ehea/ehea_ethtool.c +++ b/drivers/net/ethernet/ibm/ehea/ehea_ethtool.c @@ -263,7 +263,7 @@ static void ehea_get_ethtool_stats(struct net_device *dev, data[i++] = atomic_read(&port->port_res[k].swqe_avail); } -const struct ethtool_ops ehea_ethtool_ops = { +static const struct ethtool_ops ehea_ethtool_ops = { .get_settings = ehea_get_settings, .get_drvinfo = ehea_get_drvinfo, .get_msglevel = ehea_get_msglevel, |