More drivers where net_device_ops should be const. Signed-off-by: Stephen Hemminger --- drivers/net/ethernet/emulex/benet/be_main.c | 2 +- drivers/net/ethernet/tile/tilepro.c | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) --- a/drivers/net/ethernet/emulex/benet/be_main.c 2012-01-03 08:06:38.418232216 -0800 +++ b/drivers/net/ethernet/emulex/benet/be_main.c 2012-01-05 08:17:04.567161286 -0800 @@ -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, --- a/drivers/net/ethernet/tile/tilepro.c 2011-12-23 21:06:15.724436897 -0800 +++ b/drivers/net/ethernet/tile/tilepro.c 2012-01-05 08:16:03.870511570 -0800 @@ -2260,8 +2260,7 @@ static int tile_net_get_mac(struct net_d 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, -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html