Re: [PATCH, resubmit] ax88179_178a: ASIX AX88179_178A USB 3.0/2.0to gigabit ethernet adapter driver

From: Stephen Hemminger
Date: Thu Feb 07 2013 - 00:46:23 EST


On Thu, 7 Feb 2013 12:36:34 +0800
Freddy Xin <freddy@xxxxxxxxxxx> wrote:

> +static struct ethtool_ops ax88179_ethtool_ops = {
> + .get_link = ethtool_op_get_link,
> + .get_msglevel = usbnet_get_msglevel,
> + .set_msglevel = usbnet_set_msglevel,
> + .get_wol = ax88179_get_wol,
> + .set_wol = ax88179_set_wol,
> + .get_eeprom_len = ax88179_get_eeprom_len,
> + .get_eeprom = ax88179_get_eeprom,
> + .get_settings = ax88179_get_settings,
> + .set_settings = ax88179_set_settings,
> + .nway_reset = usbnet_nway_reset,
> +};
> +

ethtool_ops should always be const
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/