[PATCH] ethtool: allow const ethtool_ops
commit76fd85937097a0c2ec8ab23bf21dc10992d1c398
authorStephen Hemminger <shemminger@osdl.org>
Fri, 8 Sep 2006 18:16:13 +0000 (8 11:16 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 13 Sep 2006 17:30:47 +0000 (13 13:30 -0400)
tree0a3dfbacda717b9c55dfd25f6b773016a9a8910a
parentf65b138ca94326bbffe06ddc28e65606a249e58e
[PATCH] ethtool: allow const ethtool_ops

The ethtool_ops structure is immutable, it expected to be setup
by the driver and is never changed. This patch allows drivers to
declare there ethtool_ops structure read-only.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
include/linux/netdevice.h
net/core/ethtool.c