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/emulex | |
parent | 1aff0cbe9d51236efba2e721a34e2c15779f95f3 (diff) |
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/emulex')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index 6c46753aeb43..a6bcdb5cd2be 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c @@ -3080,7 +3080,7 @@ fw_exit: return status; } -static struct net_device_ops be_netdev_ops = { +static const struct net_device_ops be_netdev_ops = { .ndo_open = be_open, .ndo_stop = be_close, .ndo_start_xmit = be_xmit, |