qlge: make nic_operations struct const
authorstephen hemminger <shemminger@vyatta.com>
Thu, 14 Apr 2011 05:51:52 +0000 (05:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2011 04:53:43 +0000 (21:53 -0700)
commitef9c7ab4a97d53d9cb4912d13e142f52a30ecd54
tree942dffdc67367bd23314c12ebabfd3ce4ce68735
parent6c8c2513c86c589a819c161c9abbdea2a3d56f5e
qlge: make nic_operations struct const

The struct nic_operations is just function pointers and should be
declared const for added security.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge.h
drivers/net/qlge/qlge_main.c