On 2.6.18 dev->ethtool_ops was not marked as const. This adds a
compatibility macro that casts away the constness so we can mark
our ethtool ops as const on later kernels.
Signed-off-by: Jesse Gross <jesse@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>