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-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html