Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH

Stephen Hemminger
2010-08-26T15:42:27Z

On Thu, 26 Aug 2010 18:56:55 +0900
Masayuki Ohtake <masa-korg@dsn.okisemi.com> wrote:

> +
> +static struct ethtool_ops pch_gbe_ethtool_ops = {
> + .get_settings = pch_gbe_get_settings,
> + .set_settings = pch_gbe_set_settings,
> + .get_drvinfo = pch_gbe_get_drvinfo,
> + .get_regs_len = pch_gbe_get_regs_len,
> + .get_regs = pch_gbe_get_regs,
> + .get_wol = pch_gbe_get_wol,
> + .set_wol = pch_gbe_set_wol,
> + .nway_reset = pch_gbe_nway_reset,
> + .get_link = ethtool_op_get_link,
> + .get_ringparam = pch_gbe_get_ringparam,
> + .set_ringparam = pch_gbe_set_ringparam,
> + .get_pauseparam = pch_gbe_get_pauseparam,
> + .set_pauseparam = pch_gbe_set_pauseparam,
> + .get_rx_csum = pch_gbe_get_rx_csum,
> + .set_rx_csum = pch_gbe_set_rx_csum,
> + .get_tx_csum = pch_gbe_get_tx_csum,
> + .set_tx_csum = pch_gbe_set_tx_csum,
> + .get_strings = pch_gbe_get_strings,
> + .get_ethtool_stats = pch_gbe_get_ethtool_stats,
> + .get_sset_count = pch_gbe_get_sset_count,
> +};
> +

Should be const

--