diff options
author | stephen hemminger <shemminger@vyatta.com> | 2012-01-05 19:10:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-09 14:05:23 -0800 |
commit | e5686ad82ca2aeed7a8f24ffca115c0b7478dec9 (patch) | |
tree | e8adf108c0474879f18845d51556279ce9325c23 /drivers/net/ethernet/tile | |
parent | 1aff0cbe9d51236efba2e721a34e2c15779f95f3 (diff) | |
download | talos-op-linux-e5686ad82ca2aeed7a8f24ffca115c0b7478dec9.tar.gz talos-op-linux-e5686ad82ca2aeed7a8f24ffca115c0b7478dec9.zip |
netdev: make net_device_ops const
More drivers where net_device_ops should be const.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/tile')
-rw-r--r-- | drivers/net/ethernet/tile/tilepro.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/tile/tilepro.c b/drivers/net/ethernet/tile/tilepro.c index 6b75063988ec..d9951afb9269 100644 --- a/drivers/net/ethernet/tile/tilepro.c +++ b/drivers/net/ethernet/tile/tilepro.c @@ -2260,8 +2260,7 @@ static int tile_net_get_mac(struct net_device *dev) return 0; } - -static struct net_device_ops tile_net_ops = { +static const struct net_device_ops tile_net_ops = { .ndo_open = tile_net_open, .ndo_stop = tile_net_stop, .ndo_start_xmit = tile_net_tx, |